Syllabus
Interview walkthrough: clarify the prompt, design, implement a working booking system, then harden for concurrency and multi-instance.
The interview
The prompt lands. Clarify requirements and set a delivery plan before you draw a single class.
Design
Entities, relationships, and service APIs — what you put on the board before coding.
Implement v1
Build a runnable happy path: models, repos, booking saga, failure handling.
Concurrency follow-up
Interviewer asks: two users, same seats. Climb from synchronized to finer JVM locks.
Multi-instance
What changes when you run more than one pod — DB locks, Redis, optimistic versions.
Ship it
Pick a production answer and run the working project end to end.