Scalability Flashcards
Horizontally Scalling trade off
Horizontal scaling improving performance and availability. Scaling out using commodity machines is more cost efficient and results in higher availability than scaling up a single server on more expensive hardware, called Vertical Scaling. Disadvantage(s): horizontal scaling Scaling horizontally introduces complexity and involves cloning servers Servers should be stateless: they should not contain any user-related data like sessions or profile pictures Sessions can be stored in a centralized data store such as a database (SQL, NoSQL) or a persistent cache (Redis, Memcached) Downstream servers such as caches and databases need to handle more simultaneous connections as upstream servers scale out