CIE AS & A Level Computer Science, section 2.1 (Networks including the internet)
Client-server model
One or more servers provide services (files, email, web pages, printing) to client computers that make requests.
- The server holds the shared files and manages security and backup centrally.
- Clients request a service and the server responds.
| Benefits | Drawbacks |
|---|---|
| Central security, user accounts and backup | Server is expensive to buy and maintain |
| Easy to manage and update software centrally | If the server fails, clients cannot get the service |
| Reliable for many users | Heavy demand can slow the server |
Peer-to-peer (P2P) model
Every computer is equal. Each can act as both a client and a server and shares its own files directly with the others. There is no central server.
| Benefits | Drawbacks |
|---|---|
| Cheap: no dedicated server | Harder to back up and secure |
| Easy to set up for a few computers | Less control over files and copyright |
| No single point of failure | Performance depends on each peer |
P2P is used for file sharing (for example BitTorrent).
Justifying the model
A large organisation with many users and sensitive data suits client-server. A small home or office network with a few users and low security needs suits peer-to-peer.
Thin-client and thick-client
- A thin client has little processing power and storage. Programs run on the server, and the client mainly handles input and display. It needs a constant network connection.
- A thick client (fat client) has its own processor, memory and storage, runs its own programs, and can work offline.
| Thin client | Thick client | |
|---|---|---|
| Processing | on the server | on the local computer |
| Cost per computer | lower | higher |
| Works without network | no | yes |
| Management | central, easy | each machine managed separately |
Common mistake: saying peer-to-peer computers "have no server so they cannot share files". They can: each peer shares directly. Also, a thin client is not "a smaller screen": it depends on the server's processing, not on size.
Exam tip: when asked to justify a model for a scenario, state the model, link it to a feature of the scenario (number of users, security needs, budget), and give the reason.
Check yourself
What is the role of a server in a client-server network?
It provides services such as file storage and email, responding to requests from clients.
Give one drawback of a peer-to-peer network.
Any one: harder to secure and back up, less central control, performance varies.
Why does a thin client need a network connection?
Most of its processing and storage is on the server, so it cannot work without it.