Repository navigation
Two people book the same room. What should the second person see? #1
DimaGutierrez
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Try the public browser demo → — no installation or account required. Bookings, conflicts and the 201 / 409 race are simulated in this tab; reloading resets the examples. The full backend described below uses real HTTP requests and PostgreSQL when installed locally. Demo scope.
You open a calendar, choose a room and click Book. Someone else confirms it a fraction of a second earlier. What makes that moment feel clear rather than broken?
SlotGuard v0.1 now has a runnable local challenge: two actual HTTP requests compete for one isolated room and interval. PostgreSQL arbitrates the writes, and the UI reads back the confirmed count. The expected outcome is one 201, one 409, and one confirmed reservation—not a fixed winner.
Try it: follow the quick start, sign in as
alice, open Concurrency lab and run the challenge. Then try booking an occupied interval in Room planner and inspect its alternatives.The illustration above is concept art. These screenshots show the real application. Timings in the challenge are observations, not benchmark claims.
What would help you more after losing a slot: the next available time, another room at the same time, or both? Tell us which constraint matters.
Use fictional data. Reproducible bugs belong in Issues; this thread is for the experience and tradeoffs.
También podés responder en español: si perdés el horario, ¿preferís cambiar de sala o mover la reunión? ¿Por qué?
All reactions