The configurations included in the autoscale-policy.json
file are as follows:
Excerpt | ||
---|---|---|
|
Table of Contents | ||||
---|---|---|---|---|
|
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.
| 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%.
| 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 |