Hacker News new | ask | show | jobs
by thaniri 2415 days ago
It seems like this problem is solved by simply setting a sensible minimum in an autoscaling group. And not "everyone on Earth was abducted by aliens and stopped using the service" levels of minimum.

Say I'm an e-commerce site and on Black Friday I can see historically (or just make an educated guess if it's your first holiday sale) I get "n" requests per second to my service.

I'll set my autoscaling group the day before to be able to handle that "n" number of requests, with the ability to grow if my expectations are exceeded. If my expectations are not met, then my autoscaling group won't shrink. Then the day after the holiday sale, I can configure my autoscaling group to have a different minimum.

This solves the problem of balancing between capacity planning and saving money by not having idle resources running.

If you're the type of person who hates human intervention for running your operation, then fine. Put in a scheduled config change every year before a sale to change your autoscaling group size.

It's pretty rare to have enormous spikes in application usage without good reason. Such as video-game releases, holiday sales, startup openings, viral social media campaigns.

1 comments

> It seems like this problem is solved by simply setting a sensible minimum in an autoscaling group.

Do you really think people do things because it makes sense to do them for their particular situation or because those things are "the thing to do(tm)"?

Most people go to see Mona Lisa because that's what people do when in Paris, not because they care about that particular piece of art.

Same with automation. It really makes me sad when I see people "automating" things they barely understand how to manually do, let alone the "when" to do it.

Yes, your example is perfectly valid, but that means one understands the system they are working with and generally people have no bloody clue about what they are doing.