next next up down toc toc Src mail

all, section 7.

7.  Client-Server Model

CMost networking applications are written assuming one side is the client, and the other the server.

We can categorize servers into two classes: iterative or concurrent.

Iterative Server

1.
Wait for a client request arrive.
2.
Process the client request.
3.
Send the response back.
4.
Go back to 1.

Problem: What is, when step 2 takes a while?

Concurrent Server

1.
Wait for a client request arrive.
2.
Start a new server to handle this request. The new server handles the clients request. When complete, this new server terminates.
1.
Go back to 1.


back next up down toc toc Src mail


Created by unroff & hp-tools. © by Hans-Peter Bischof. All Rights Reserved (1998).

Last modified: 08/May/98 (11:53)