Defensive programming practices to survive Web site traffic peaks
29th May 2007
8 tips for dealing with getting 'Digg'ed:
- Avoid accessing databases
- Cache Web pages
- Avoid needless personalization
- Queue tasks that may take too long
- Move images, CSS and Javascript to a multi-threaded Web server
- Minimize page serving time with page compression
- Put the Web, mail and database servers in different partitions
- Distribute the load when the servers limit is reached