On Wednesday, January 1, 2014, Sanjiva Weerawarana wrote: > Very cool :-). > > What instances are these spinning up? Are they EC2 images? >
Yes, they are. Currently, we have tested with a puppet based PHP Cartridge. > > Sanjiva. > > > On Sat, Dec 28, 2013 at 10:17 AM, Imesh Gunaratne <[email protected]>wrote: > > Hi All, > > Another round of an integration test was carried out to test the > Auto-Scaling Functionality. > Please find the test results below: > > > *Deployment Policy: * > { > "deploymentPolicy": { > "id": "deployment-policy1", > "partitionGroup": { > "id": "partition-group1", > "partitionAlgo": "one-after-another", > "partition": [ > { > "id": "p1", > "partitionMax": "3", > "partitionMin": "1" > } > ] > } > } > } > > > *Auto-Scaling Policy:*{ > "autoscalePolicy": { > "id": "autoscale-policy2", > "loadThresholds": { > "requestsInFlight": { > "average": "10", > "gradient": "0", > "secondDerivative": "0", > "scaleDownMarginOfGradient": "1.0", > "scaleDownMarginOfSecondDerivative": "0.2" > }, > "memoryConsumption": { > "average": "6000", > "gradient": "0", > "secondDerivative": "0", > "scaleDownMarginOfGradient": "1.0", > "scaleDownMarginOfSecondDerivative": "0.2" > }, > "loadAverage": { > "average": "6000", > "gradient": "0", > "secondDerivative": "0", > "scaleDownMarginOfGradient": "1.0", > "scaleDownMarginOfSecondDerivative": "0.2" > } > } > } > } > > > *First Step:* > A subscription was made to PHP service and a request load was sent to the > cluster via Apache JMeter. > > *Scale Up Trace:* > > > *Spawning Second PHP Instance:*TID: [0] [Autoscaler] [2013-12-28 > 03:41:14,791] DEBUG [scale-up] [network-partition] partition-group1 > [cluster] stratos-t2.php-host.php.domain Algorithm name: > one-after-another > TID: [0] [Autoscaler] [2013-12-28 03:41:14,791] DEBUG [scale-up] > [network-partition] partition-group1 [cluster] > stratos-t2.php-host.php.domain Algorithm: > org.apache.stratos.autoscaler.algorithm.OneAfterAnother@2dd063b3 > TID: [0] [Autoscaler] [2013-12-28 03:41:14,792] DEBUG [scale-up] > [network-partition] partition-group1 Partition is null: false > TID: [0] [Autoscaler] [2013-12-28 03:41:14,793] DEBUG [scale-up] > [network-partition] partition-group1 [partition] p1 [cluster] > stratos-t2.php-host.php.domain Predicted value: 0.0 > TID: [0] [Autoscaler] [2013-12-28 03:41:14,793] DEBUG [scale-up] > [network-partition] partition-group1 [partition] p1 [cluster] > stratos-t2.php-host.php.domain Average limit: 10.0 > TID: [0] [Autoscaler] [2013-12-28 03:41:14,793] DEBUG [scale-up] > [network-partition] partition-group1 [partition] p1 [cluster] > stratos-t2.php-host.php.domain Scale-up factor: 0.8 > TID: [0] [Autoscaler] [2013-12-28 03:41:14,794] DEBUG [scale-up] > [network-partition] partition-group1 [partition] p1 [cluster] > stratos-t2.php-host.php.domain Scale-up action: false > TID: [0] [Autoscaler] [2013-12-28 03:42:14,803] DEBUG [scale-up] > [network-partition] partition-group1 [cluster] > stratos-t2.php-host.php.domain Algorithm name: one-after-another > TID: [0] [Autoscaler] [2013-12-28 03:42:14,803] DEBUG [scale-up] > [network-partition] partition-group1 [cluster] > stratos-t2.php-host.php.domain Algorithm: > org.apache.stratos.autoscaler.algorithm.OneAfterAnother@3a7faad6 > TID: [0] [Autoscaler] [2013-12-28 03:42:14,804] DEBUG [scale-up] > [network-partition] partition-group1 Partition is null: false > TID: [0] [Autoscaler] [2013-12-28 03:42:14,805] DEBUG [scale-up] > [network-partition] partition-group1 [partition] p1 [clust > > -- > Sanjiva Weerawarana, Ph.D. > Founder, Chairman & CEO; WSO2, Inc.; http://wso2.com/ > email: [email protected] <javascript:_e({}, 'cvml', '[email protected]');>; > office: +1 650 745 4499 x5700; cell: +94 77 787 6880 | +1 650 265 8311 > blog: http://sanjiva.weerawarana.org/ > Lean . Enterprise . Middleware > -- Best Regards, Nirmal Nirmal Fernando. PPMC Member & Committer of Apache Stratos, Senior Software Engineer, WSO2 Inc. Blog: http://nirmalfdo.blogspot.com/
