Lesson 3 Part 2
Lesson 3 Part 2
A simple definition of CS is
“ server software accepts requests for data
from client software and returns the
results to the client”
Elements of C-S Computing
st
ue
q
Re
Client
Server
Network
Re
su
lt
Client machine
Server machine
Where Operations are Done
User
UserInterface
Interface
Presentation
PresentationLogic
Logic
Application
ApplicationLogic
Logic
Data
DataRequests
Requests&&Results
Results
Physical
PhysicalData
DataManagement
Management
Client (dumb) - Server Model
Server
ke
Client
tro
ys
Ke
Presentation Logic
Network
Di Application Logic
sp
lay
s
DBMS
True Client-Server Model
Server
ke
Client
tro
ys
Ke
Application Logic
Presentation Logic Network
Pr
oc DBMS
Re es
su sed
lts
Distributed Client-Server Model
Server
ie d
Client
er sse
Qu oce
s
Pr
Application Logic
Application Logic
Network
Pr
oc DBMS
Presentation Logic Re es
su sed
lts
Client-server computing is distributed access,
not a distributed computing.
RPC Look and Feel like Local Calls
results= calling results= called
bar(arguments) procedure bar(arguments) procedure
arguments
arguments
results
results
results=
calling
bar(arguments)
procedure
(client)
client stub server stub
network transport network transport
arguments
results
request message
request message
reply message
reply message
called
procedure
(client)
Network
Service Executes
with Request Service Call
Client
Waiting Netw
o rk
return() answer
return ( )
Request Completed
reply
Server Process
Client Process
Server
Threads
Client Process
User Mode
Kernel Mode
Message Passing
Facility
The Client/Server
Infrastructure
Client Middleware Server
Service Specific
SQL/IDAPI TxRPC Mail ORB Objects
GUI/OOUI
DSM
Groupware
SNMP CMIP DME
NOS
TP
monitor
Directory Security Distributed file
Many powerful servers are connected as a cluster using high speed networks.
Client request are executed very fast
Data Server
• Data-oriented; used only for data storage
and management Data
Server
• Since a data server can serve more than
one compute server, compute-intensive
applications can be spread among multiple
severs
• Does not prefer any application logic Compute
Server
processing
• Performs processes such as data
validation, required as part of the
data management function.
• Requires fast processor, large amount of
memory and substantial Hard disk
capacity.
Cluster as High Availablity Data Server
Data
Server
Compute
Server
Instead of using one data server, many data server are used which are connected as a clusters
This give fault tolerant capabilities and high availability
Database Server
• Most typical use of technology in client-server
• Accepts requests for data, retrieves the data from its
database (or requests data from another node) and
passes the results back.
• Compute server with data server provides the same
functionality.
• The server requirement depends on the size of
database, speed with which the database must be
updated, number of users and type of network used.
• Example: Air ticket reservation system
Communication Server
Provides gateway to other LANs, networks &
Computers
E-mail Server & internet server
Modest system requirements
multiple slots
fast processor to translate
networking protocols
Internet Server (Web server)
PC client
Internet Server
Local Area
Network
UNIX workstations
Used to host the organization web page
That can be accessed from anywhere
Time Server
• A time server is a server computer that reads the actual time from a
reference clock and distributes this information to its clients using a
computer network.
• The time server may be a local network time server or an
internet time server
• The Network Time Protocol (NTP) is used by hundreds of millions of
computers and devices to synchronize their clocks over the Internet. If
your computer sets its own clock, it likely uses NTP.
Useful video
• See The following Video
• https://www.youtube.com/watch?v=ggp5C1q0gNA