Repaso
EspaƱol
System DesignCoreSD-33

In the client-server model, which is true?

Options

  1. The server always starts the communication first
  2. Clients send requests; servers process and respond (Correct option)
  3. Clients store all the data of the whole system
  4. There is only ever one client at any one time

Answer

Clients (browser, mobile app) send requests; servers process them and send responses

Why

The client is the program the user interacts with (a browser, a phone app). The server is a program on another machine that holds data and business logic.

The client sends a request ('give me my orders'); the server checks permissions, reads the database and returns a response.

One server usually handles many clients at the same time.

Remember

Client asks, server answers.

Key terms

Practice this question in Repaso