Wednesday, April 25, 2012

An Abrupt Introduction: Scaling


How to scale:
  • Identify your bottlenecks.
  • Identify the best solution for the problem.
  • Check to see if you can implement the the solution.
  • Identify alternate solution(s) and check ability to implement.

Typical Scaling Options:
  • Vertical Scaling (bigger, faster server hardware)
  • Load balancing (active/active, active/passive)
  • Split tiers/components out onto more/other hardware
  • Offload work through caching/cdn

Database Scaling Options:
  • Vertical Scaling (bigger, faster server hardware)
  • Replication (active or passive)
  • Clustering (if DBMS supports it)
  • Sharding
§