Académique Documents
Professionnel Documents
Culture Documents
Whats a Server?
Definition: A process that implements a specific service on behalf of a collection of clients. Typically, servers are organised to do one of two things: 1. Wait 2. Service wait service wait service wait
3
Server States
Stateless servers no information is maintained on the current connections to the server. The web is the classic example of a stateless service. As can be imagined, this type of server is easy to implement. Stateful servers information is maintained on the current connections to the server. Advanced file servers, where copies of a file can be updated locally then applied to the main server (as the server knows the state of things). These are more difficult to implement. Cookies?
5
Application Layering
Traditional three-layered view User-interface layer: programs that allow end users to interact with the application; differ in their sophistication Processing layer: contains the functions of an application Data layer: contains the data that a client wants to manipulate through the application components (persistency, consistency, data independence)
6
1-28
The general organization of an Internet search engine into three different layers often referred to as tiers.
1-29
1-30
An example of a server acting as a client this is a very common vertical distribution model for distributed systems.
10
11
1-31
12
Alternative Architectures
Cooperating servers
Traditional Multi-tier systems Replicated servers
Cooperating clients
Teleconferencing
13
Multi-tiered system
14
Proxy server
15
Web Applets
16
Peer-to-peer Networks
17