« Tuning LAMP systems | Main | Ben On Restful Web Applications And Memcached »

More Defensive Programming Techniques

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
Bookmark this article at these sites
Post a comment





(Email will remain hidden)





Please enter the security code you see here




Related entries
Email to a friend
Email this article to:


Your email address:


Message (optional):