In this article I will be comparing and contrasting two-tier, three-tier, and n-tier client-server architectures.
Architectures | Two tier | Three Tier | N-Tier |
Sameness | 1 client | 1 client | 1 client |
client will never know the difference | client will never know the difference | client will never know the difference | |
Differences | 1 server | 2 servers | 3 or more servers |
One server performs all requests | Responsibilities are split up | Responsibilities are split up | |
Advantages | Only 1 server to maintain | Split responsibilities – might be easier to debug | Split responsibilities – might be easier to debug |
Flexibility in scaling up or down or just doing replacements | Flexibility in scaling up or down or just doing replacements | ||
Disadvantages | 1 server has to do all the work, scalability can be a problem | Two servers to maintain | Many servers to maintain |
Comments are always welcome to make my post more accurate and full of knowledge. Thanks