stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rajkumar Rajaratnam <>
Subject Interesting app bursting pattern is implemented in one-after-another algorithm
Date Mon, 09 Mar 2015 06:41:29 GMT
Hi Devs,

I have extended one-after-another algorithm to support any app bursting
pattern of your choice.

    "id": "application-policy-4",
            "name": "networkPartitionGroups",
            "value": "network-partition-1|network-partition-2,
network-partition-3, network-partition-4|network-partition-5"
            "name": "key-2",
            "value": "value-2"

The property "networkPartitionGroups" can be used to configure your app
bursting pattern for one-after-another network partition algorithm. You can
group network partitions using a pipe character and you can separate
network partition groups using a comma character. Stratos will create
application instances in network partition groups in each app bursting

For example, according to above application policy;

   - Initially stratos will create 2 application instances, each in
   network-partition-1 and network-partition-2
   - In the 1st app bursting iteration, it will create an application
   instance in network-partition-3
   - In the 2nd app bursting iteration, it will create 2 application
   instances, each in network-partition-4 and network-partition-5

So at the end of 2nd app bursting iteration, we will have 5 application
instances running. There is no app bursting after that.
For more information, refer app-bursting-pattern sample application [1]



Rajkumar Rajaratnam
Committer & PMC Member, Apache Stratos
Software Engineer, WSO2

Mobile : +94777568639
Blog :

View raw message