W/01 — Exam seat bookingMy part: design + build
I designed concurrency-safe seat claiming.
Thousands of students hit the same exam sessions at once. I used Postgres FOR UPDATE SKIP LOCKED so claims skip each other instead of queueing on one row, and gave each claim a 2-hour hold that expires on its own.
- NestJS
- PostgreSQL
- SKIP LOCKED