Easier to read with cream paper, a tint, more contrast or larger text? Choose your colours and text, once, for every page.

Preview

SC 7.3: Client-server, thin client and peer-to-peer

This is the first page of the lesson. Read it and have a go at the activities. The rest is in the full lesson.

45 minutes

Three ways to set up a computer room

A school has three jobs. A big lab of 30 computers for the whole school. A library with cheap screens that only show what a central machine runs. A tiny office of three people who just want to swap files.

You could build all three in the same way. It would be wrong for at least two of them.

Key words

WordWhat it means
Client-servera model where clients ask a central server for services
Thin clienta simple computer that does little itself and uses a server to run programs
Peer-to-peera model where every computer is both client and server, with no central server
Clienta computer that asks for a service
Servera computer that gives a service
Networkdevices joined so they can share things
Single point of failureone part that stops everything if it breaks

The cells students fill in are left blank in this preview.

By the end of this lesson

Note

I can describe three network models and choose the right one for a place.

Starter

Have a go

Starter

3 questions
Have a go: your answers are marked here and then forgotten. Sign in if you would like your score kept, and to pick up where you left off.Sign in to keep your score

Your answers are marked here and are not kept. A college account keeps every student’s marks.

Client-server has a central server

In the client-server model, a server holds the files, the accounts and the services. Each client asks the server for what it needs, and the server answers.

It suits most schools and firms. Control, security and backups are in one place.

Try it: a client asks, a server answers

Code: python
files = ["timetable.pdf", "menu.pdf"]

def server(request):
    if request in files:
        return "Here is " + request
    return "No such file"

print(server("menu.pdf"))
print(server("exam.pdf"))

# Add "rules.pdf" to the list. Ask for it.

A thin client leaves work to a server

A thin client is a small, cheap computer. It has little processing power and little storage. The programs run on a powerful server, and the thin client only shows the screen and takes the keys.

It is cheap to buy and run. Updates are done once on the server. Data stays on the server, which is safer. But if the network or server is down, the thin client does nothing at all.

Peer-to-peer has no central server

In a peer-to-peer network, every computer is both a client and a server. Each shares its own files with the others. There is nothing to buy but the computers.

It suits a tiny group, such as three people in an office. But nobody controls security or backups, and files end up scattered.

The three models compared

ModelBenefitsDrawbacksSuits
Client-serverCentral control, security and backup. Strong serverCosts more. Server is a single point of failure. Needs a skilled personSchools and firms
Thin clientCheap clients. Easy updates. Data stays safe on the serverNeeds a fast network and strong server. Useless when the network is downLibraries, call centres, labs
Peer-to-peerCheap and simple. No server to buy. No single point of failureNo central security or backup. Hard to manage as it growsTiny groups of a few computers

The cells students fill in are left blank in this preview.

The lesson goes on

5 more parts of this lesson are in the full curriculum, with the tasks, the final check and the labs. A college account gives your students all of it.