Network CS Thinking Example 4

Follow the full solution, then compare it with the other examples linked below.

Example 4

hard
Explain the client-server and peer-to-peer network models. For a school, which model is more appropriate for (a) file storage and (b) video calling between two students?

Solution

  1. 1
    Step 1: Client-server: a central server provides services (files, websites, email) to client computers. The server is powerful and always on. Peer-to-peer: all computers are equal, sharing resources directly with each other.
  2. 2
    Step 2: (a) File storage: client-server is better โ€” a central server provides backups, access control, and easy management. (b) Video calling: peer-to-peer is better โ€” direct connection between two students is simpler and lower latency than routing through a server.
  3. 3
    Step 3: Client-server offers central management and security but requires an expensive server. Peer-to-peer is simpler but harder to manage and secure at scale.

Answer

(a) Client-server for file storage (central management). (b) Peer-to-peer for video calling (direct, low latency).
Both models have their place. Real networks often combine them โ€” client-server for managed services, peer-to-peer for direct communication. Choosing the right model depends on the use case.

About Network

A group of interconnected computing devices that can communicate and share resources with each other. Networks range from small local area networks (LANs) connecting devices in one building to wide area networks (WANs) spanning cities or countries, up to the global internet.

Learn more about Network โ†’

More Network Examples