
Introduction
Client-Server Model: This model describes network communication between two computing entities. Clients request resources or services, and servers provide them.
The client-server model, also known as client-server architecture, outlines the framework used to enable communication between source and destination systems. This model, often referred to as a protocol stack or network protocol, defines the architecture and components essential for network communication.
There are two types of network models:
-
Client-Server Model: A client is an application program that makes a request to another application program on the local system, while a server is a program that serves a request. When a web server gets a request from a client host, for example, it responds to the client host's request.
- Peer to peer Model: In a data center, it does not have a dedicated server. Peers are machines that do not belong to the service provider. Most of the peers reside in their homes, offices, schools, and universities. This design is known as peer-to-peer architecture because the peers connect with each other without sending information through a dedicated server. The applications based on P2P architecture include file sharing and internet telephony.
Also See, Basic Networking Commands
Client-Server Model
The client-server model is a distributed application structure that divides jobs or workloads between servers, who offer a resource or service, and clients who request that service. Clients and servers connect across a Computer Network on separate hardware most of the time. However, they may share a system. A server host is a computer that executes one or more server applications that share resources with clients. A client typically does not share any of its resources but instead asks a server for material or services. As a result, clients start communication sessions with servers, waiting for incoming requests. Email or network printing and the World Wide Web are computer applications that employ the client-server concept.

Client-Server Model
Components of the client-server Model
Clients, Servers, and the networking devices that link the two segments are present in all client-server frameworks.
-
Client
A client is an application that runs on a local system and asks the server for help. A client program is a finite program, which implies that the user initiates the service and ends when it is done.
-
Server
A server is software that runs on a distant computer and provides services to clients. The server opens the door for incoming requests when a client wants a service, but it never launches the service.
A server program is an ongoing program, implying it will operate indefinitely until a problem occurs. The server will sit and wait for the clients' requests. The server replies to the proposal when it arrives at the server.
-
Networking Devices
The architecture requires physical or wireless networking equipment such as hubs, switches, and routers to link servers, clients, and resources.
Administrators may customize how client devices make requests and assign servers to execute certain activities once the link between clients and servers is established.
How does the Client-Server Model Work?
The following procedure is made more accessible with a functional client-server architecture:
- The client uses a network-enabled device to send a request.
- The request is received and processed by the network server.
- The client gets a response from the server.
The client-server paradigm, despite its simplicity, is broadly applicable and essential to anybody interested in learning about content delivery networks (CDNs) or the mechanics of edge networking. The client-server process is closer to end-users as server capabilities grow closer to the network edge.

Client-Server Model Examples
-
Facilitating Email
Snail mail can't match the speed and dependability of electronic mail in business communication. For a long time, the industry standard for controlling individual email accounts and activities has been to host email communications for an organization or network on a dedicated server.
Administrators can set up a system that enables, protects, and manages email interactions using IMAP, POP3, and SMTP protocols.
-
Accessing Web Content
When a web client types in a URL to visit a certain website, the browser asks the domain name system for an IP address (DNS). The DNS server provides the user with an IP address for identification and transmission of results.
A client activated particular online material by traveling to the website, which the user may only access through an HTTP response delivered by a web server.
The end-user in this scenario is the customer who is provided with digital material. The DNS server and web server create and maintain a connection to a database that stores web content.
You can also read about the Layered Architecture in Computer Network.