Overview

Cascadia Professional Licensing Authority (fictional) — proctored exam scheduling engine.

Total slots (next 7 days)

28

Available

28

Held / Committed

0

How the engine stays correct under concurrency

Every exam slot can carry at most one active reservation (Held or Committed) at a time. That guarantee is enforced by a partial unique index in PostgreSQL — not by an application-level lock — so it holds regardless of how many API instances or threads race for the same slot. Try it yourself on the Concurrency Simulator page: fire a burst of simultaneous hold requests at one slot and watch exactly one win.

An unhandled error has occurred. Reload 🗙