Beruflich Dokumente
Kultur Dokumente
Remote access
Resource Sharing
Application partitioning
Client/Server
Remote access
workstation
workstation workstation
mainframe
Modem
Modem
Modem Modem
workstation
workstation workstation
3
Resource sharing
IBM Compatible
IBM Compatible
Token Ring
Laser Printer
Disk Array
Plotter
Application Partitioning
- Usually a medium-end PC
SERVER
- Furnishes clients with application-specific resources
- Databases
- Huge disk drives
- Connections to network
- Accepts and responds to requests from several clients
- Usually a high-end PC, minicomputer, or mainframe
SQL QUERY
Workstation Minicomputer
Athena Network
Workstation Minicomputer
TRANSACTION
Sender composes
message and presses
Send
Message is sent to
Mail server of senders mail server
gates@microsoft.com
Message is transferred
to recipientsInternet
mail server Mail server of Chris
and stays there until Dellarocas's email
recipient retrieves it right
address 12
Bill Gates PC
Chris Dellarocass PC
Internet
Mail server sends all Mail server of Chris
unread messages Dellarocas's email
back to client address
14
http://web.mit.edu/sloan/www/index.html
Web server
Internet
Web client
(Netscape,
Explorer, etc.)
Looking up host:
web.mit.edu ...
Web server
Internet
Web client
(Netscape, What is the
IP address of
Explorer, etc.) web.mit.edu?
Contacting host:
web.mit.edu ...
Web server
Internet
Web client
(Netscape, Please send me file
Explorer, etc.) /sloan/www/index.html
Web server
Internet
Web client
(Netscape,
Explorer, etc.)
Web Clients
Use HTTP protocol to connect to servers
Request and display Web pages stored in servers
Typical clients: Web browsers
Web Servers
Listen for incoming connections from clients
Use HTTP protocol to converse with clients
Store and transmit Web pages to clients
19
Client/Server Advantages
Price
PC networks much cheaper than mainframes of
equivalent computing power
Scalability
Easy to grow/modernize system as needs change
- Add clients
- Upgrade/add servers
Vendor-Independence
Different system components can come from different
vendors
20
Availability
If one machine goes down,your business stays up
21
Client/Server Disadvantages
Maintenance
Parts dont always work together
Changes must propagate to all clients
There are several possible culprits when something
goes wrong
22
Issues:
How much processing to do locally vs. in the server
- PRESENTATION LAYER: User Interface
- APPLICATION LAYER: Application-specific processing
- DATA MNG LAYER: Actual storage of data
23
24
Disadvantages
client is more complex; difficult to port to different
platforms
changes in server architecture are more likely to
25
Example: WWW
Advantages
easy to port client to different architectures
client is decoupled from changes in the application
Disadvantages
server does all the work; might get easily saturated
potentially long network delays
26
change)
What if
we want to add a second server to share the load
we want to move the network location of a server
we want to change our database from Sybase to
Oracle
27
Enter Middleware
Client Server
Name
server
Client Server
28
29
30
Web clients
Web server
Internet
31
Alice
3. Data
1. Looking transfer
for Bob
picture
32
File sharing
Napster, Gnutella
33
36