Engineering scalability into an application

前端 未结 5 1969
無奈伤痛
無奈伤痛 2021-02-04 21:31

What does it mean to say - Engineering scalability into applications. Are there design patterns that would make an application more scalable? This question is mainly in the cont

5条回答
  •  渐次进展
    2021-02-04 22:06

    I think when you're talking about the web, you're mainly concerned with:

    • Partitioning your code such that it can, if necessary, be divided vertically (for one request) along many servers.
    • Adjusting your code such that all data (especially session data) is persisted in some sort of global store (like a database) rather than locally in the filesystem.
    • Load balancing.

    With this, you can stretch one server into however many tiers (application tier, caching tier, database tier) and expand those horizontally should a scaling problem arise.

提交回复
热议问题