GCSE · Computer Science · OCR · Spec J277
Client-server vs peer-to-peer
Take the same four computers and link them two different ways. Whether there is a central server changes who backs up, who pays and what happens when something breaks.
Computer Science · Structure
Same four devices, two ways to link them
Tap any device to see the role it plays in its network.
Tap any part of the diagram to see what it does.
Make your call first
Commit to an answer, then see what really happens.
Sam's laptop is a client on a client-server network. It wants a file that is stored on the network's file server. What happens next?
Types of server
Match the request to the server
A client on a client-server network makes each request below. Which server fulfils it?
Still to sort
File server (0)
Web server (0)
Email server (0)
Print server (0)
WHAT YOU'VE LEARNED
A quick recap of today's lesson.
Same devices, two ways to connect them. What changes when there is a central server, and what changes when there isn't?
What you need to know
- In the client-server model, each device is designated as a client or a server. Those are the two main roles.
- Clients make requests, such as asking for files, accessing emails or printing a document.
Have a goPriya taps Print on her laptop in a client-server network. Is her laptop acting as a client or as a server?
A client.
Her laptop is making a request, and making requests is the client's job.
- Servers fulfil the requests the clients make.
- A server is a program on a computer that shares resources with, or provides services to, any authorised client.
Have a goYour friend says a server is always a huge humming box in a cupboard. What would you tell them it actually is?
A program on a computer that provides services to authorised clients.
A server is defined by what it does for the clients, not by how big or loud the machine is.
- A client sends a request to the server; the server processes it, then sends the response back to the client.
- File servers store and provide files, and web servers store and provide webpages.
- Email servers store and forward emails. Print servers provide printing services across the network and manage print queues.
- Client-server stores its files centrally, on one server, so a backup can be taken of the server rather than of each client.
- A client-server network is typically expensive to set up, and a specialist network administrator is required to set it up.
- Peer-to-peer has no central dedicated server. Each device, or peer, can act as both a client and a server, sharing files and resources directly.
Have a goA classmate says: "In peer-to-peer, one machine is the server and all the others are clients." Which part is wrong?
There is no central dedicated server; each peer can act as both.
Peers share files and resources directly, so no one machine is the single server the others depend on.
The big picture
A network can be built around a central server (client-server), or with no central server at all (peer-to-peer). This lesson covers who plays which role in each model, what the four main types of server do, and how to weigh up the advantages and disadvantages of each.
Key points
Worked example
Problem
A school network has one machine that stores everyone's files and thirty machines that pupils use. During one lesson a pupil's machine breaks. Later, the machine that stores the files fails. Work out who is affected each time.
⚠ Watch out
Thinking of a server as a special kind of hardware that stays a server for ever. A server is a program on a computer that provides services to authorised clients, and in a peer-to-peer network each peer can act as both a client and a server.
Memory hook
Client asks, server answers. In peer-to-peer, every peer can do both.
Check yourself
Close your eyes and explain to an imaginary friend which role makes requests and which one fulfils them. Then say what changes when there is no central server at all.
Flashcards
(12)What are the two main roles in the client-server model?
What do clients do?
What do servers do?
What is a server?
Put the request-response steps in order.
What do file servers and web servers do?
What do email servers and print servers do?
How does a client-server network help with backups?
Give three disadvantages of a client-server network.
What is a peer-to-peer network?
Name three advantages of peer-to-peer over client-server.
What is the main trade-off of a peer-to-peer set-up?
Tap any card to flip it, or use Study as deck to go through them one at a time. In the full lesson these run as a spaced-repetition deck — you rate each card Hard, Good or Easy and the tricky ones keep coming back until they stick.
Learning with Lightbulb is opening soon
You can use this lesson now. Join the waitlist and we'll let you know when the full Lightbulb experience is ready.
Keep me postedMore OCR GCSE Computer Science topics
How this lesson was checked. This OCR GCSE Computer Science (specification J277)lesson was published through Lightbulb Learning's human-designed editorial process — the educational standards, accuracy rules and publication checks it must pass were authored and approved by Philip Halpin. It passed subject-specific assessment, automated educational checks and technical publication verification before going live (publication checks completed 14 November 2026). Published pages are monitored, human spot-checking is ongoing across the lesson library, and anything found wrong is corrected or withdrawn. How our lessons are made and checked. Spotted a mistake? Email hello@lightbulblearning.co and we'll review it.