Network

Types of Client-Server Architecture with Example

In this tutorial, we are going to see types of client-server architecture with example.

A client-server architecture represents the environment in which the client machine applications communicate with the server machine applications.

The classic example is the Web browser of a client who asks (“request”) the contents of a Web page to a Web server which returns the result to him (“answer”).
 


 
 

Types of Client-Server Architecture

If all the necessary resources are present on a single server, this is called a two-tier or 2-tier architecture (1 client + 1 server).
 


 
If some resources are present on a second server (e.g. databases), this is called a three-tier or 3-tier architecture (1 client requests the first server, which itself requests the second server).
 

 
Beyond 3 participants, this is called an n-tier architecture.
 
 

Advantages of the Client/server Architecture

The client/server model is particularly recommended for networks requiring a high level of reliability, its main advantages are

  • Centralized resources: since the server is at the center of the network, it can manage resources that are common to all users, such as a centralized database, in order to avoid redundancy and duplication problems
  • Better security: because there are fewer entry points for accessing data
  • Server level administration: since clients have little importance in this model, they need to be administered less
  • Scalable network: thanks to this architecture it is possible to remove or add clients without disrupting the network and without major modifications

 

 

Disadvantages of the Client/server Architecture

The client/server architecture has some disadvantages such as:

  • High cost due to the technical nature of the server.
  • Weak element: the server is the only weak element in the client/server network since the entire network is built around it! Fortunately, the server has a high fault tolerance (thanks to the RAID system)

 

Difference between Client/server Architecture and Peer-to-peer:

 


Image source: www.wikimedia.org

 
In a peer-to-peer architecture, unlike a client/server network architecture, there is no dedicated server. So each computer in such a network is both server and client. This means that each computer in the network is free to share its resources. A computer connected to a printer may share it so that all other computers can access it via the network.
Peer-to-peer Architecture Advantages and Disadvantages with ExamplePeer-to-peer Architecture Advantages and Disadvantages with exampleIn this tutorial, we are going to see the Peer-to-peer architecture advantages and disadvantages with example. In a peer-to-peer (P2P) architecture, unlike a client/server network…Read More
mcq-networking-question-answerComputer Network MCQ – Questions and Answers – Part 1Networking MCQs questions with answers to prepare for exams, tests, and certifications. These questions are taken from a real written exam and some parts are…Read More

Leave a Reply

Your email address will not be published. Required fields are marked *