Architecture & LLD

Elevator System

Architecture & LLD Preview

Elevator System

Design an elevator (or bank of elevators) with request scheduling, direction state, and door lifecycle.

A direction/door FSM driven by an injected scheduling policy (the LOOK algorithm): keep sweeping one way serving all requests, then reverse — far better than FIFO.

Core Design Challenge

"Design an elevator. Which floor does it serve next when several buttons are pressed at once?"

What You'll Learn:

  • Modeling system states and transition triggers
  • Encapsulating state machines into design patterns
  • Handling concurrency, thread-safety, and transaction isolation
  • Managing invalid actions and edge cases cleanly in code
Premium

Unlock “Elevator System”

You are viewing the concept preview. Subscribe to unlock the interactive system design visualizer, complete step-by-step walkthroughs, and code editors.

  • Every problem simulation, step-by-step
  • Full LLD pattern walkthroughs + code editors
  • HLD deep dives & real system design breakdowns
$19one-time · lifetime

Founding price for early users — locked in for life.