What is the client-server architecture?

Megh Agarwal
Nerd For Tech
Published in
2 min readJan 9, 2021

--

The client-server architecture is a widespread architecture used by almost every web application. Very few web apps use a different kind of architecture called Peer to Peer.

The client-server architecture is the very fundamental building block of the web. The whole architecture works based on a request-response model.

Client-Server Architecture

Let us explain the architecture with the essential part: what is a client?

Think about it. When you are loading youtube, you become the client (The device you are using to access youtube becomes the client, Example: Mobile, Ipad, MacBook Pro with Apple M1 Chip [13-inch, 8GB RAM, 256GB SSD]) requesting some videos from the server used by youtube (they use many servers). This becomes the client-server architecture! To make it easier, let us summarize the same.

  1. You load youtube (your device becomes the client).
  2. When you load youtube, a request is sent to youtube’s server.
  3. The server accepts your request and sends you a response.
  4. The request and response are completed.

Websites use the client-server architecture where the client sends the request to the server for information & the server responds with it. The server hosts, delivers and, manages most of the resources and services to be consumed by the client.

This is the client-server architecture!

--

--

Megh Agarwal
Nerd For Tech

Incoming freshman at the University of Toronto. Founder, developer, designer of Pustakdaan. Experienced web developer. Interested in research (AI, ML).