How does Stack Overflow serve 60 million pageviews with 5 servers while Digg requires 500 servers to serve 200 million page views?

migrated from stackoverflow.com Oct 21 '11 at 11:20

This question came from our site for professional and enthusiast programmers.

  • 1
    Old infos... 95 million: highscalability.com/blog/2011/3/3/… – xanatos Oct 21 '11 at 12:12
  • 5
    Amongst our weaponry are such diverse elements as: fear, surprise, ruthless efficiency, an almost fanatical devotion to the Pope, and nice red uniforms – waffles Oct 21 '11 at 12:52
  • And waffles :-) – xanatos Oct 21 '11 at 13:29
  • 3
    Because digg sucks ass. – Won't Oct 21 '11 at 14:05

There is a great difference in load when serving different types of content. Static, text based pages are very light, whereas active pages can impose a heavy load on a server.

The underlying data structure also plays a big part - using efficient techniques to load data from optimised databases for display can make a huge difference. Have a look at the ServerFault blog, where various aspects are discussed.

You must log in to answer this question.