Setting up custom metrics for autoscaling in AWS

In many cases, custom metrics may be useful to make more ad-hoc configuration of autoscaling in AWS. For example, a custom metric can allow an autoscaling group to react more rapidly on spikes or to take into account the health state of hosts for concurrency based metrics. ActiveConnectionCount per Healthy Host metric may be helpful to scale in an application, that may stop to respond to health-checks if it is fully loaded. In general, this metric may be used both to rapidly react on spikes, regardless of application type and may be more effective than CPU based and RequestPerHost metrics.

View More

5 pieces of advice for effective working from home

Nowadays a lot of companies decide to work from home due to quarantine. For many people work from home sounds like a paradise - freedom, no traffic issues to get to the office and back home, the opportunity to focus on the tasks and relax whenever you want. Yes, all this is true, but a lot of people do not have an experience of working from home so freedom and independence may come with a big price to pay, so that the paradise may turn into hell.

View More

Why and how concurrency based autoscaling may be useful

Every time facing a task of configuring how the system should scale out and scale in, we decide what metrics and policies will be more effective. But what if this is not an option, i.e. the service is represented by legacy application, written years ago, not well documented, etc. and we still want to run it and autoscale? I have already described CPU based policies and what challenges they may have so that ideally would be to check the configuration and fix the possible root cause.

View More

Why you should worry if CPU utilization based policy does not work for you

Imagine the situation, you have a legacy system partially migrated to multiple services and used by the relatively small amount of concurrent users. And one day stakeholders want to create an open API and expose the system to external clients with the load significantly higher than the existing system can handle, and it should be scalable to handle in the future even more.

View More

10 lessons of "Chernobyl" for the Software Engineer

Currently, the tv-show "Chernobyl" is very popular. With 9.4 ratings in IMDB, 2 Golden Globes, several Emmys and lots of other awards this series is still in the center of numerous discussions on how authentic and correct it described the real story. But I believe, many Software Engineers can learn some lessons from this show, regardless of how accurate and correct the authors interpreted the real story.

View More

Autoscaling policies in AWS

Imagine the situation, you have a legacy system partially migrated to multiple services and used by the relatively small amount of concurrent users. And one day stakeholders want to create an open API and expose the system to external clients with the load significantly higher than the existing system can handle, and it should be scalable to handle in the future even more.

View More