3 ms·
There's a strategy I only saw applied [twice, forgot another team was using this somewhere else] but I've been stumping for it every place else (I may almost ha
by hinkley 7y ago
There's a strategy I only saw applied [twice, forgot another team was using this somewhere else] but I've been stumping for it every place else (I may almost have my current team convinced)
If you segregate classes of service (consumer/producer/admin, or paying/non-paying), then you can over-allocate one class of service to guarantee responsiveness. The most obvious cost is that you need monitoring to make sure all classes of service are working, but you tend to have that anyway.
With this structure, the HN hug of death still leaves your admin console running even while the public traffic is falilng over. Logged in users can still modify content. Or in the case of an image service, paying customers are undersubscribed and free tier is oversubscribed.
In my situation, the customers are responsible for most of the CPU load on the system. We could throttle them while keeping their customer's requests highly responsive.