Are these links predictable? If so, you can use Scheduled Scaling , or alternatively you can change the RIGIDITY-POWER value in the Automatic Scaling group or even run as-execute-policy
to scale right before sending the link.
Did you know that in one group there can be several scaling policies? Thus, you may have a special auto-scaling policy for your case, something like SCALE_OUT_HIGH
, which adds, for example, another 10 instances. Take a look at the as-put-scaling-policy
command.
In addition, you need to check your code and find the neck of the bottle.
What HTTPD are you using? Consider switching to Nginx as it is much faster and less resource-intensive software than Apache. Try using Memcache ... NoSQL, like Redis, for reading and writing in high quality is also a great option.
source share