A client-server model refers to an application structure that is distributed. It segregates tasks or workloads between those that provide a resource or service (servers) and those that request the service (clients).
2. Table of Contents
2
Client
Server
Client-Server Network
Client-Server Model
Client-Server Model (Continued)
Categories of Client-Server Approach
7One-Tier Architecture
Two-Tier Architecture
Three-Tier Architecture
N-Tier Architecture
Benefits of Client-Server Model
3. Clients are also referred to as service requesters. Clients are those computer hardware
or server software which request resources and services that are provided by a server.
Client computing can be classified as thick, thin or hybrid.
Thick Client- A thick client is one that offers rich functionality and carries out most of the
data processing. It depends very less on the server.
Thin Client- A thin client refers to a lightweight computer which depends on the resources
of the host computer to a great extent.
Hybrid Client- A hybrid client is a combination of a thick client’s and a thin client’s
characteristics. It depends on the server for storing persistent data. It is capable of local
processing.
3
CLIENT
4. YELLOW
Any device or computer program that lets other devices or programs have functionality is known as a server. A
server refers to any computerized process that is used or called upon by a client for the purpose of sharing
resources and distributing work. There are application servers, database servers, computing servers, web
servers etc.
Web servers are the servers that are provided by web hosting companies for hosting web pages. It is these
web hosting companies that make websites accessible over the Internet and are often termed as the ““Best
Website Hosting Company”, the “Best Windows Hosting Company” or the “Top Cloud Hosting Company” when
they excel in their services.
Server
4
5. Client-Server Network
A client-server network refers to the medium that enables clients to access resources
and services from a central computer by using either the LAN (Local Area Network)
or the WAN (Wide Area Network).
Network traffic is categorized as either client-to-server or as server-to-server.
Client-server network’s major advantage is that it ensures a centralized
management of applications as well as data.
The most popular network services are, e-mail, file sharing and the World Wide
Web. In the context of the World Wide Web, there are numerous websites that can
be accessed over the Internet. These websites are kept up and running by web
hosting companies. These companies that are also known as web hosts, provide the
server space, services and the technologies that are needed to make a website
accessible. Terms such as the “Best Website Hosting Company”, the “Best Windows
Hosting Company” and the “Top Cloud Hosting Company” refer to the top-notch
website hosting service providers.
5
6. Client-Server Model
6
The client-server model refers to a distributed application framework. It divides
tasks between servers and clients that are present either in the same system or
interact over a computer network or the Internet. In it the client sends a request to
another program for the purpose of accessing a service that is made available by
a server. One or more programs are run by the server that are meant for sharing
resources with, as well as distributing work, among clients.
7. Client-Server Model (Continued)
7
The client server model functions by communicating in a messaging pattern that
involves request–response. It must follow a common communications protocol in
which the language, rules and the dialog patterns that are to be used are formally
defined. The TCP/IP protocol suite is followed by the client-server communication.
The connection is maintained by the TCP protocol till the time the client and the
server are through with the message exchange.
A scheduling system organizes and prioritizes client requests. The client-server
model lets any computer utilize other hosts’ shared resources and aids in expanding
its capabilities.
8. Categories of Client-Server Approach
8
There are four categories of client-server approach. These are, one-tier
architecture, two-tier architecture, three-tier architecture and N-tier architecture.
These will be discussed in more detail in the following slides.
10. One-Tier Architecture
10
One-tier architecture involves a program being run on a single computer, wherein there is no
requirement regarding access to the network. In it, network protocols are not managed by user
requests. Hence, the code remains simple and there isn’t any extra traffic on the network.
11. Two-Tier Architecture
11
A two-tier architecture involves the server, the client, as well as the protocol by which the two tiers are
linked. In it the code related to the Graphical User Interface exists on the client host and the server
host has the domain logic.
12. Three-Tier Architecture
12
A three-tier architecture involves a presentation tier (User Interface layer), the application tier (service
layer which performs detailed processing) and the data tier that has a database server for storing
information.
13. N-Tier Architecture
An application is divided into logical layers by an N-tier architecture. This separates
responsibilities as well as manages dependencies and physical tiers that are run on
separate machines. Moreover, it improves scalability and adds latency. N-Tier
architecture can be either closed-layer or open-layer. In closed-layer, each layer can
communicate only with the next layer that is below it. In open-layer, a layer can
communicate with any of the layers that are below it.
14. Benefits of Client-Server Model
The client-server model has many advantages which are mentioned below.
Facilitates protection of data and manages easily user authorization and
authentication.
Addition of resources (servers, network segments and computers) to a client-server
network without encountering any major interruption.
Ensures access to data in an efficient manner without the clients and the server being in
close proximity.
Facilitates easy upgrades, relocation of the nodes and replacements.
The data that gets transferred is platform-agnostic.