0% found this document useful (0 votes)
92 views

Client Server Model

The document discusses the client-server model, including: - The client-server model involves clients making requests to centralized servers over a network. Servers manage resources and provide services to clients. - The main components are clients, servers, and the communication network connecting them. Clients access services from servers through various protocols. - There are advantages like improved data sharing and maintenance, but also disadvantages like servers becoming overloaded and a single point of failure if the central server fails. - Common client-server architectures include two-tier with direct client-server communication, three-tier adding a business logic layer, and n-tier with multiple separated tiers.

Uploaded by

Chachu-420
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
92 views

Client Server Model

The document discusses the client-server model, including: - The client-server model involves clients making requests to centralized servers over a network. Servers manage resources and provide services to clients. - The main components are clients, servers, and the communication network connecting them. Clients access services from servers through various protocols. - There are advantages like improved data sharing and maintenance, but also disadvantages like servers becoming overloaded and a single point of failure if the central server fails. - Common client-server architectures include two-tier with direct client-server communication, three-tier adding a business logic layer, and n-tier with multiple separated tiers.

Uploaded by

Chachu-420
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 15

CLIENT SERVER MODEL

 CONTENT:

• Definition
• Components
• Characteristics of client server model
• Types of client server model
• Its advantages and disadvantages
Definition
 •Client/server architecture is a computing model in which the server hosts, delivers
and manages most of the resources and services to be consumed by the client. This
type of architecture has one or more client computers connected to a central server
over a network or internet connection.

• Client/server architecture is also known as a networking computing model or


client/server network because all the requests and services are delivered over a
network.
Components
• Clients
• Servers
• Communication Networks
What is client
 • A client can be a simple application or a whole system that accesses services being provided by
a server.
• A client can connect to a server through different means like domain sockets, named, shared
memory or through Internet protocols, which is the most common method being used since the
wide adoption of the Internet.
What is server

• Computers or processes that manage network resources


• Disk drives (file servers)
• Printers (print servers)
• Network traffic (network servers)
• Example: Database Server
• A computer system that processes database queries
Communication Network 

The structure and flow of communication and information between individuals


within a group

Servers Networks Connect Clients and Servers Clients Networks


Characteristics of Client-Server Architecture

In client server computing, the clients requests a resource and the server provides that resource. A server
may serve multiple clients at the same time while a client is in contact with only one server. Both the
client and server usually communicate via a computer network but sometimes they may reside in the same
system.
WORKING OF CLIENT/SERVER MODEL
Here's an example of how client/server communications work. In an average use of a
browser to access a server-side website, the user or client enters the URL. The DNS server
looks up the web server's IP address, and gives it to the browser. The browser generates an
HTTP or HTTPS request, and the server, as the producer, sends the files. The client, as the
consumer, receives them, and then, typically, sends follow-up requests.
Although this model technically works for any number of similar processes, it does have
some drawbacks. Over time, an alternative called peer-to-peer or P2P modeling has
emerged, which many feel is in some ways superior to traditional client/server models,
especially in terms of handing handling specific challenges where communications are
more evolved.
 Advantages

• Improved Data Sharing


• Shared Resources amongst Different Platforms
• Easy maintenance
• Security 
Disadvantages

• Overloaded servers: When there are frequent simultaneous client


requests, servers severely get overloaded, forming traffic congestion.
•  Impact of centralized architecture: Since its centralized if a critical server
fails, client requests are not accomplished. Therefore client/server lacks
robustness of a good P2P network
Types of Client-Server Architecture 

There are various types of client-server


architecture which are described as below:
• The Two Tiers Architecture:
• Three Tiers Architecture:
• N-Tiers Architecture
TWO-TIER ARCHITECTURE:
The two-tier architecture is like client server application. The direct communication takes place
between client and server. There is no intermediate between client and server.

The above figure shows the architecture of two-tier. Here the communication is one to one.
Let us see the concept of two tier with real time application. For example now we have a need
to save the employee details in database. The two tiers of two-tier architecture is
1.Database (Data tier)
2.Client Application (Client tier)
So, in client application the client writes the program for saving the record in SQL Server and
thereby saving the data in the database.
THREE TIER ARCHITECTURE

having three layers. They are 


1. Client layer
2. Business layer
3. Data layer
Client layer:
Here we design the form using textbox, label etc.
Business layer: It is the intermediate layer which has the functions for client layer and it is used to
make communication faster between client and data layer. It provides the business processes logic
and the data access.
Data layer: it has the database.
N-TIER ARCHITECTURE
N-tier architecture is also called multi-tier architecture because the software is engineered to have the
processing, data management, and presentation functions physically and logically separated. 
That means that these different functions are hosted on several machines or clusters, ensuring that services
are provided without resources being shared

You might also like