Skip to content

Our technical expertise

Architecture, DevOps, cloud, networks, AI: our know-how in interactive diagrams.

Paused

Swipe to explore the diagram, tap a block for its explanation.

Normal traffic: requests are spread across servers, the cache answers frequent reads.

Availability
99.99 %
p99 latency
120 ms
Requests / s
1,250
Scenarios
Read the diagram as text

Diagram elements

Clients
: Your users' browsers and mobile apps, anywhere in the world.
CDN
: Servers close to your users: images, scripts and static pages are served in milliseconds.
Load balancer
: Sends each request to an available server and automatically removes those that stop responding (health checks).
App 1
: Stateless application server: any of them can handle any request.
App 2
: A second identical server: if one fails, the others take over.
App 3
: A third server: capacity is adjusted by adding or removing servers.
App 4
: Server started automatically during a traffic spike, then stopped when the load drops.
Cache
: Keeps frequently read data in memory: less load on the database and faster responses.
PostgreSQL
: Primary database: every write goes through it.
Replica
: Continuously synchronised copy, ready to take over if the primary database fails.
Queue
: Sets long tasks aside (emails, PDFs, payments) so the user gets an immediate response.
Workers
: Process queued tasks at their own pace, without slowing the site down.

Scenarios

A server fails

  1. App 2 stops responding: requests sent to it fail.
  2. The load balancer detects the failure and redistributes traffic to App 1 and App 3.
  3. App 2 restarts and passes its health checks again.
  4. Back to normal: your users noticed nothing.

Traffic spike

  1. Traffic spike: four times more requests, servers are saturated.
  2. Autoscaling: a fourth server starts automatically.
  3. The load is spread over four servers: latency goes back down.
  4. The spike is over: the extra server stops, you only pay for what you use.
Our technical expertise | Franchise IT