News for hackers. Stuff that matters.
Re:An Unexpected Ass Kicking by mattdeboard on Sunday August 05, 2012 @09:12PM (#4343294)
Your site took an unexpected ass-kicking.
Re:An Unexpected Ass Kicking by joelrunyon on Monday August 06, 2012 @08:04AM (#4344834)
50,000 hits in a few hours will do that to a site. Time to upgrade.
Re:An Unexpected Ass Kicking by kragen on Tuesday August 07, 2012 @11:57AM (#4350678)
Depends. 50k hits in 3 hours is 5 hits a second. I could serve more than 10 hits a second on the first web server I ever set up, in 1994, on an SGI Indigo 2 with maybe a 250MHz CPU and 256 megabytes of RAM, using NCSA httpd, which spawned a new process for every hit. Under IRIX. While I was using it as a workstation. Also, doing a reverse DNS lookup for every hit for the access log.

My current home page, http://canonical.org/~kragen/, benchmarks at 4000 requests per second with ab on localhost. That's roughly a thousand times the load you were under. This is not because our server is a thousand times faster than yours. (It's a dual-core 2.4GHz Celeron, running Apache.) This is because your server is doing a thousand times as much work as it needs to in order to serve that page.

Re:An Unexpected Ass Kicking by kragen on Tuesday August 07, 2012 @02:58PM (#4351659)
I'm asserting that your server isn't a thousand times slower because a thousand times slower would be a high-end eight-bit microcontroller. An Arduino, say. Feel free to correct me if your server is in fact running on an Arduino or equivalent.
Re:An Unexpected Ass Kicking by joelrunyon on Wednesday August 08, 2012 @01:44AM (#4354120)
I've had my tech guy speed things up. Got off shared hosting, on a VPS and should have things sped up all around. Still need to cut all the javascript in the current theme, but that's another project for another day.
Re:An Unexpected Ass Kicking by kragen on Wednesday August 08, 2012 @02:49PM (#4357328)
The JS might actually speed things up by allowing you to do stuff on the client that you'd otherwise have to do on the server.