3 ms·
I've hit #2 and #5 and not had to cache my site. I was running Rails 2.3.8, thin and nginx on the cheapest slice that Slicehost sells. Is it normal not to have
by djacobs 16y ago
I've hit #2 and #5 and not had to cache my site. I was running Rails 2.3.8, thin and nginx on the cheapest slice that Slicehost sells.
Is it normal not to have to cache for HN + Reddit?
- jamesjyu 16y agoYes, I've hit the top 5 several times, and never had db load issues before, even without caching.
- beagledude 16y agodepends on concurrent connections vs spread out, cpu, traffic of other customers on your box, apache configurations, etc... It's just good practice to cache when you can. There is no reason to ask the database for the same article 1000 times a second if it's not changing. I didn't feel the server was going to crash at that moment but I did notice MySQL was doing plenty of work it didn't need to. The concern was if it got picked up by another site like digg or reddit then it could have been more of an issue.