4 ms·
The traffic killed the server - I'm rebuilding it now with decent RAM, back in 20 minutes..
by stevekemp 12y ago
The traffic killed the server - I'm rebuilding it now with decent RAM, back in 20 minutes..
- cr3ative 12y agoI have to admit I giggled http://i.imgur.com/H9dBG09.png http://i.imgur.com/H9dBG09.png Hope the rebuild goes well.
- Retr0spectrum 12y agoOut of curiosity, what are the specs of the server, and how much RAM is "decent"?
- stevekemp 12y agoPreviously it was running a reasonably heavyweight Perl/CGI front-end on 512Mb RAM. It's now setting with 4Gb of RAM, and a load of ~40. The single biggest issue is that the front-page either shows "marketing" or "your details", so it is dynamic and being generated on-demand. I'll update to cache.
- ten7 12y agoWhy not just slap Varnish in front of that and be done?
- stevekemp 12y agoThat would be the end goal - but since all users get cookies there's not obvious "I'm anonymous" vs "I'm a signed-in-user" differentiator I can use to control whether to cache or serve live. It'll happen, shortly, but the fastest solution was to re-deploy on a scaling platform.
- opless 12y agoPerl/CGI is never a good thing. You might get better response with using perl in fastcgi mode, and using nginx rather than apache.