All jobs / Full-stack developer / System Design Basics

Full-stack developer interview question · 1–3 years

The API has run on a single server for a year, and you are adding a second behind a load balancer.

What in the current design is likely to break?

The strongest answer

Anything kept on the box: sessions and caches in process memory, files written to local disk, in-process timers and locks — they move to a shared store, to object storage, and to one scheduler

Why it works

Right — the question is always what this instance knows that the other one does not, and the answer has to be nothing that matters.

What a good answer covers

Answers that fall short

Who gets asked this

More System Design Basics questions