How can I detect and survive being “Slashdotted”?

前端 未结 24 1862
半阙折子戏
半阙折子戏 2021-01-29 21:19

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: swi

24条回答
  •  长情又很酷
    2021-01-29 21:54

    1. install munin to monitor load/memory consumption etc and notify on overloads.
    2. install monit to restart apache2 if it crashes
    3. install nginx as apache2 frontend, it will massively decrease memory requirements under heavy load

提交回复
热议问题