Overview

Scalability can be a concern in any architectural style, but some styles are better suited to handle it than others. Here are some examples of architectural styles and how they relate to scalability:

Layered/tiered architecture

This architecture can be scalable because it separates concerns and the independent scaling of each layer or tier.

For example, a system with a three-tiered architecture might have a presentation layer, a business logic layer, and a data access layer. The presentation layer might be designed to scale horizontally by adding more web servers, the business logic layer might be designed to scale vertically by adding more resources to a single machine, and the data access layer might be designed to scale horizontally by adding more database servers.

However, it’s important to note that the overall scalability of a system built using layered or tiered architecture will depend on how well each layer or tier is designed to scale. If one layer becomes a bottleneck, it could impact the scalability of the entire system.

Get hands-on with 1400+ tech skills courses.