« Differences between Digg and Reddit
Keeping current with SEO »

Scaling a medium sized website

Eric Hodel posted their production website server setup over at the Robot Coop that handled 2.5M page views in a day not too long ago. I love this kind of information because it helps me get a feel for how we’re doing. At GreatSchools we serve around 900,000-980,000 page views on an average weekday, our record day was a bit above 3M page views, and siege load testing puts our cap around 4400 page views per minute.

The great thing about using siege is that we extract the load test from our access logs so that we can simulate real conditions. We size the hardware based on running at around 25% of our capacity on an average weekday which usually gives us just enough breathing room to handle a front page feature on Yahoo or AOL when those happen.

None of the above include crawler activity which we factor out from all of our numbers since their activity is pretty constant and accounts for about 200k page views per day (above the 980k real user page views). The numbers also do not include redirects, 404s, images, css, javascript… just real user page views as best can be determined.

Like Robot Coop we’re a FreeBSD shop but with older servers and we’re still evaluating FreeBSD 6 before upgrading all our machines from 4.11. I’m looking forward to doing some load testing with FreeBSD 6 to see if it’s much improved multi-threading support boosts our capacity! Without further ado, here’s our setup:

1. Web servers: 10 of varying hardware but I’d guess they average out to about a 2 Ghz dual Xeon. Each server has 1GB each running Apache/mod_perl/mod_jk/Tomcat.
2. Databases: 3 MySQL servers consisting of 1 read write primary (Dual 2.8 Xeon/2GB) and 2 read-only replicated slaves where we can manually failover if the read write primary fails.
3. Proxy servers: 3 Oops proxy servers to cache images and CSS (overkill).
4. File server: 1 NFS file server with a warm standby that is kept in synch.
5. Load balancers: 2 hot failover hardware load balancers.

If you know the setup of other sites or have seen one posted somewhere let me know, I’m always looking to see what other setups look like.

This entry was posted on Friday, March 17th, 2006 at 8:56 am and is filed under Systems Administration, Web. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

One Response to “Scaling a medium sized website”

  1. Shey’s Rebellion » High Traffic Ruby on Rails web site setups says:
    December 24, 2006 at 4:02 am

    [...] Interested in high traffic RoR web sites?  Read how Robot Co-op’s setup handles 2.5 million hits per day and GreatSchools’ setup handles ~1 Million page views per day. share this with others:These icons link to social bookmarking sites where readers can share and discover new web pages. [...]

Leave a Reply

Click here to cancel reply.