Client-Server in Real Projects

What the system looks like when there are many clients: a load balancer, several backends and databases, a monolith and microservices.

About the product

Kadri, mentor

Hi! You already know how the client, the server and the database exchange requests. Today let’s see what this setup looks like in big projects.

Quick reference

Scaling

When there are many clients, the backend runs as several copies, and a load balancer hands requests to them in turn. There can be several databases too: the primary takes writes, replicas answer reads.

Monolith and microservices

A monolith is the frontend and backend in one application released as a whole; projects often start with one. Microservices split the backend into small independent services that talk through APIs. This is what you’ll meet most often today.