Networking: 3-Tier Client/Server Architecture

June 2018
In client/server systems, there are several types of configurations. This article will get into 2-tier architecture and 3-tier architecture and explain the differences and the similarities of the two systems.


2-Tier Architecture

2-tier architecture is used to describe client/server systems in which the client requests resources and the server responds directly to the request, using its own resources. This means that the server does not call on another application in order to provide part of the service:


2-Tier Client/Server Architecture

3-Tier Architecture

In 3-tier architecture, there is an intermediary level, meaning that the architecture is generally split up between: a client, i.e. the computer, which requests the resources, equipped with a user interface
(usually a web browser) for presentation purposes; the application server (also called middleware), whose task it is to provide the requested resources, but by calling on another server; and the data server, which provides the application server with the data that it requires:

2-Tier Client/Server Architecture

The widespread use of the term 3-tier architecture also denotes the following architectures:
  • Application sharing between a client, middleware and enterprise server
  • Application sharing between a client, application server and enterprise database server.

Comparing Both Types of Architecture

2-tier architecture is a client-server architecture where the server is versatile, i.e. it is capable of directly responding to all of the client's resource requests. In 3-tier architecture, however, the server-level applications are remote from one another, i.e.
each server is specialized with a certain task (for example: web server/database server).

3-tier architecture provides: a greater degree of flexibility; increased security, as security can be defined for each service, and at each level; increased performance, as tasks are shared between servers.

Multi-Tiered Architecture

In 3-tier architecture, each server (tier 2 and 3) performs a specialized task or service. A server can, therefore, use services from other servers in order to provide its own service. As a result, 3-tier architecture is potentially an n-tiered architecture:

Mult-Tiered Architecture

Image: © alexmillos - 123RF.com

Redes - Arquitectura Cliente/Servidor en 3 niveles
Redes - Arquitectura Cliente/Servidor en 3 niveles
Client-Server-Netzwerk: Drei-Schichten-Architektur
Client-Server-Netzwerk: Drei-Schichten-Architektur
Réseaux - Architecture client/serveur à 3 niveaux
Réseaux - Architecture client/serveur à 3 niveaux
Reti - Architettura client/server a 3 livelli
Reti - Architettura client/server a 3 livelli
A tecnologia da arquitetura cliente/servidor
A tecnologia da arquitetura cliente/servidor
Latest update on June 17, 2018 at 06:04 PM by owilson.
This document, titled "Networking: 3-Tier Client/Server Architecture," is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (https://ccm.net/).
Thick client
3-Tier Client/Server Architecture