DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.
DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.
The configurations included in the autoscale-policy.json file are as follows:
{
"id": "autoscale-policy-1",
"loadThresholds": {
"requestsInFlight": {
"average": 50
},
"memoryConsumption": {
"average": 70
},
"loadAverage": {
"average": 100
}
}
}
| Parameter | Description | Required | Default value | Example value |
|---|---|---|---|---|
id | Unique ID of the autoscaling policy | Yes | N/A | autoscale-policy-1 |
loadThresholds | The autoscaling loadthreshold is determined based on the requestsInFlight, memoryConsumption, and loadAverage. | Yes | N/A | N/A |
| Parameter | Description | Required |
|---|---|---|
| requestsInFlight | The number of requests the load balancer received, but are yet to be processed. | No - Required only if the deployed cartridge is using a load balancer. |
memoryConsumption | The memory usage of a cartridge process, which is considered as a percentage of the total available RAM. This is a percentage and cannot go beyond 100, since a process cannot take more than total physical memory. The formula used to calculate this is: In the above formula, | Yes |
| loadAverage | The average system load over a period of time. (System load is a measure of the amount of computational work that a computer system performs.) This a percentage and it can go beyond 100%. The formula used to calculate this is: In the above formula, | Yes |
| Parameter | Description | Required | Default value | Example value |
|---|---|---|---|---|
average | The average number of requests in flight | No | N/A | 50 |
| Parameter | Description | Required | Default value | Example value |
|---|---|---|---|---|
average | The average of the memory usage | Yes | N/A | 70 |
| Parameter | Description | Required | Default value | Example value |
|---|---|---|---|---|
average | The average of the system load over a period of time | Yes | N/A | 100 |