slashdot

How can I detect and survive being “Slashdotted”?

安稳与你 提交于 2019-12-03 01:43:36
问题 What's a good way to survive abnormally high traffic spikes? My thought is that at some trigger, my website should temporarily switch into a "low bandwidth" mode: switch to basic HTML pages, minimal graphics, disable widgets that might put unnecessary load on the database, and so-on. My thoughts are: Monitor CPU usage Monitor bandwidth Monitor requests / minute I am familiar with options like caching, switching to static content or a content delivery network, and so on as a means to survive,