Building Scalable Web Applications
Top tips for building scalable web applications#
- Choose the correct tool for the job - not the most popular.
- Implement caching to reduce costs
- Utilise multiple levels of caching to avoid cache misses
- Make use of SQL and NoSQL together where it makes sense
- Avoid using local disks - use object storage API in the cloud
- Make the application stateless unless there is a good reason to store state
- Make use of asynchronous communication where possible
- Use queues to make your tasks atomic - easy retrieved when they fail
- Always have the ability to roll back your code for failed deploys
- Load test your application every day
- Root out a single point of failure
- Automate everything to run continuously