Bitpath

Boss lesson · Unit 01

The standard web stack

Know every box between the browser and the database

13 exercisesabout 3 min

What you practise

  • Client, DNS, CDN, load balancer, stateless app servers, cache, database, queue, object storage: what each is for, and one request traced through all of them

Try a question from this lesson

Pick one

A shop runs on one machine: web server, code, database and uploaded images. A big sale is coming. What is the deepest problem with this design?

The idea

Concept cards are short on purpose. In the app they appear between questions, after you have met the idea.

Concept

The standard stack

Almost every web system starts from this sketch. Each box has one job, and most can be more than one machine.

Read it top to bottom: that is the path a request takes.

Client
  |  DNS: name -> IP address
  v
CDN            static files, near users
  v
Load balancer  spreads requests
  v
App servers    x N, keep no state
  |-> Cache        hot answers, in RAM
  |-> Database     the source of truth
  |-> Queue -> Workers   slow jobs
  '-> Object storage     files

11 more exercises in the app

  • 1× match the pairs
  • 1× order the lines
  • 5× multiple choice
  • 1× fill the blanks
  • 1× true or false
  • 2× type the answer

Bitpath is an iOS app in development. Join the waitlist and you get one email when it is ready to try.

One email when Bitpath is ready to try. Nothing else. Privacy