3 ms·
40k pageviews to a blog entry should never crash your server. And yet it does all the time. It looks like this guy has a typical LAMP stack running on a Linod
by jasonkester 16y ago
40k pageviews to a blog entry should never crash your server.
And yet it does all the time. It looks like this guy has a typical LAMP stack running on a Linode slice, presumably running a single query to return a single record and render it as HTML.
Even assuming that all 40k pageviews came in one single hour, that's still eleven requests per second, which gives you 100ms to serve each one. That's like years in CPU time. There's no reason that should even spike the CPU off of zero. There's definitely no reason you'd need to worry about caching for a load that small.
I just don't get it.
Is LAMP really that slow out of the box?