Module 1
Module 1
ARCHITECTURE
INSTITUTION VISION & MISSION
DEPARTMENT VISION & MISSION
• file:///D:/Teaching/syllabus/COMPUTER%20SCIENCE%20AND%20ENGINEERING%20
S7%20&%20S8.pdf
INTRODUCTION
• Client / Server Computing
• Client/Server computing is new technology that yields solutions to many data management
problems faced by modern organizations.
• The term Client/Server is used to describe a computing model for the development of
computerized systems.
• This model is based on distribution of functions between two types of independent and
autonomous processes: Server and Client.
• A Client is any process that requests specific services from the server process.
• A Server is a process that provides requested services for the Client.
• Client and Server processes can reside in same computer or in different computers linked by
a network.
• The network ties the server and client together, providing the medium through which the
clients and the server communicate.
• In case of Client/Server database system, the functionality is split between the server system
and multiple clients such that networking of computers allows some tasks to be executed on the
client system.
• A Client or a Server is so named depending on the extent to which the processing is shared
between the client and server.
• A thin client is one that conducts a minimum of processing on the client side while a fat
client is one that carries a relatively larger proportion of processing load.
• The concept of Fat Clients or Fat Servers is given by one of the important criterion, that is,
how much of an application is placed at the client end vs. the server end.
CLIENT/SERVER: STATELESS OR
STATEFUL
• A stateless server is a server that treats each request as an independent transaction that is
unrelated to any previous request.
• The biggest advantage of stateless is that it simplifies the server design because it does not
need to dynamically allocate storage to deal with conversations in progress or worry about
freeing it if a client dies in mid-transaction.
• There is also one disadvantage that it may be necessary to include more information in each
request and this extra information will need to be interpreted by the server each time.
• An example of a stateless server is a World Wide Web server
• A request to the server for a file can assume that the user has been authenticated and that the
current directory and file transfer mode have been set.
• The Gopher protocol and Gopher+ are both designed to be stateless
• Stateful Server:- Client data (state) information are maintained by server on status of
ongoing interaction with clients and the server remembers what client requested previously
and at last maintains the information as an incremental reply for each request.
• The advantages of stateful server is that requests are more efficiently handled and are of
smaller in size.
• Some disadvantages are their like state information becomes invalid when messages are
unreliable.
• Another disadvantage is that if clients crash (or reboot) frequently, state information may
exhaust server’s memory.
• The best example of stateful server is remote file server.
STATELESS VS STATEFUL SERVERS
A stateful server remembers client data (state) from one request to the next.
A stateless server keeps no state information. Using a stateless file server, the client must specify
complete file names in each request specify location for reading or writing and re-authenticate for each
request.
Using a stateful file server, the client can send less data with each request.
A stateful server is simpler. On the other hand, a stateless server is more robust and lost connections
can’t leave a file in an invalid state rebooting the server does not lose state information rebooting the
client does not confuse a stateless server
CLIENT/SERVER FUNCTIONS
• The main operations of the client system are listed below:
Managing the user interface.
Checks authorization.
• The possible Client/Server topological design and strategies used are as follows:
(i) Single client, single server
• From a hardware perspective, a mainframe is not greatly different from a personal computer.
• The CPU inside a mainframe was, however, much faster than a personal computer.
these giant machines will run MVS, IMS and VSAM operating systems.
Many servers are either file or database servers running sophisticated database such as Sybase, Oracle
and DB2.
Organizations keep applications on the mainframe usually for better database performance, integrity
and functionality