Client / Server Computing What is C/S computing? McDonald’s Restaurant FTP PGP Keys Print and the list goes on …
© MMII JW Ryder
CS 428 Computer Networks
1
Client / Server Client
Server
Where are they located ? • Networks • Anywhere else? © MMII JW Ryder
CS 428 Computer Networks
2
Client User Interface Format & Pack Data for Server
Unpack data from Server
Server Interface • Layered Application (Could TCP/IP be considered C/S in any way??) • Clients usually sit and wait in the Server Interface for a response from Server © MMII JW Ryder
CS 428 Computer Networks
3
Server Client Interface Input/Output Decode Input Work Routine Interface • Wake up, receive input, decode input command, invoke proper high level work routine • Invoke means
• Interrupt driven interface (asynchronous) •Call / Return interface (sequential / synchronous) © MMII JW Ryder
CS 428 Computer Networks
4
Server continued Draw totally synchronous Draw variations of asynchronous
Queued
up input to server (or not) Forked (spawned) Work Routines (or not) Child
© MMII JW Ryder
Process interrupt driven I/O management
CS 428 Computer Networks
5
Internet Information Server
Show 'Random Thought Generator'
© MMII JW Ryder
CS 428 Computer Networks
6