Re:How to Survive a Slashdotting on a Small Apache Server
by smutticus on Monday January 03, 2011 @07:14PM
(#2065247)
Very good advice. How often does a slashdotted page need to accept user input? And if it doesn't need user input it most likely shouldn't need to be generated afresh with every hit.
1) Render the page
2) Save it to file
3) Point everyone to it
4) Enjoy your 15 min of fame
(My blog's currently quiet, fielding no more than 15,000 http requests per hour at any time this year so far(!), although it's been more than an order of magnitude above that in the past month. Srsly, unless you've got massive clustering mojo you are not going to be handling that load gracefully unless you're serving static content.)