After the latest great article on defensive programming techniques, Manuel Lemos posted today more good practice for defensive programming. This will give you a bunch of great techniques to prevent a curse from taking down your business. Today’s tips :

  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