The company I work for has an event coming up in the near future that we believe will generate traffic around 3-4x anything we have dealt with in the past and I am unsure of the best way to deal with such a huge and sudden increase. Several months ago we had an event that generated about 15,000 sessions for the day and our systems essentially buckled, it took our customer service team two weeks to sort out the mess from all of the orders that had been dropped or improperly completed.
We have increased our hardware specs significantly since then but I would be impressed if we could handle 25,000 sessions without any issues. We've already maxed out our SQL server for our cloud computing host and we plan to spin up an overkill amount of web servers. So given that we are expecting 45,000-60,000 I am wondering if I should start planning for the worst.
My thinking is that I want to limit the number of connections allowed to a lower number that I know we can handle and then ramp it up from there until I start to see cracks and then hold it steady. I thought about doing this through our load balancer but it seems that it doesn't support it which means I will have to configure it on the individual servers.
TLDR:
Here are the essential questions
- Is limiting traffic to prevent a meltdown even a valid idea? Would any good admin do this?
- Can a load balancer limit connections to each server? If not is the best way to do this by limiting it on each web server?
- If I limit each web server to 200 connections, what happens when the load balancer tries to send the 201st connection? Does it get dropped, or redirected to another server with less connections?