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.

Client-server networkPeer-to-peer 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)

6 of 6 still to sort.

Compare the two models

Build the comparison

Tick the network type or types each statement is true of, then check your grid.

Has a central dedicated server
Each device can act as both a client and a server
Clients depend on one single server
Typically expensive to set up
A backup can be taken of one server instead of each individual machine

Choosing a network

Which network for a small organisation?

The claim

A small organisation should use a peer-to-peer network rather than client-server.

Place each piece of evidence to load the balance. Mark the strong ones — they count double.

  1. Peer-to-peer networks don't require expensive equipment to be set up, while a client-server network is typically expensive to set up.

    Evidence 1: does it support or challenge the claim?
  2. A specialist network administrator is required to set up a client-server network.

    Evidence 2: does it support or challenge the claim?
  3. If the server fails in a client-server network, everyone connected to the server is disrupted.

    Evidence 3: does it support or challenge the claim?
  4. In a peer-to-peer network, if more than one computer hosts a file, a client can request it from the closest device, which will speed up connection times.

    Evidence 4: does it support or challenge the claim?
  5. A peer-to-peer network may lack central control and security.

    Evidence 5: does it support or challenge the claim?
  6. In a client-server network a backup can be taken of the server, rather than of individual client machines.

    Evidence 6: does it support or challenge the claim?

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

1Client-server: clients make requests and servers fulfil them, with a response sent back to the client.
2Servers named by their job: file, web, email and print servers.
3Client-server stores files centrally, so one backup of the server covers them, but it is typically expensive and needs a specialist network administrator.
4If the server fails in a client-server network, everyone connected to it is disrupted.
5Peer-to-peer has no central dedicated server and each peer can act as both client and server.
6Peer-to-peer is simpler than client-server but may lack central control and security.

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?
Client and server. Devices are designated as clients or servers.
What do clients do?
They make requests, for example requesting files, accessing emails or printing a document.
What do servers do?
They fulfil the requests from the client.
What is a server?
A program on a computer that shares resources with, or provides services to, any authorised client.
Put the request-response steps in order.
The client sends a request; the server processes it; the server sends the response back to the client.
What do file servers and web servers do?
File servers store and provide files. Web servers store and provide webpages.
What do email servers and print servers do?
Email servers store and forward emails. Print servers provide printing services across the network and manage print queues.
How does a client-server network help with backups?
The files are stored centrally, on one server, so a backup can be taken of the server rather than of individual client machines.
Give three disadvantages of a client-server network.
It is typically expensive to set up, a specialist network administrator is required to set it up, and if the server fails everyone connected to it is disrupted.
What is a peer-to-peer network?
A network where each device, or peer, can act as both a client and a server, sharing files and resources directly without a central server.
Name three advantages of peer-to-peer over client-server.
Clients are not dependent on one single server, it doesn't require expensive equipment to set up, and a client can request a file from the closest device that hosts it, speeding up connection times.
What is the main trade-off of a peer-to-peer set-up?
It is simpler than client-server but may lack central control and security.

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 posted

More OCR GCSE Computer Science topics

See the full OCR Computer Science curriculum →

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.