Defensive programming practices to survive Web site traffic peaks

29th May 2007

8 tips for dealing with getting 'Digg'ed:

  1. Avoid accessing databases
  2. Cache Web pages
  3. Avoid needless personalization
  4. Queue tasks that may take too long
  5. Move images, CSS and Javascript to a multi-threaded Web server
  6. Minimize page serving time with page compression
  7. Put the Web, mail and database servers in different partitions
  8. Distribute the load when the servers limit is reached