Deadlock
“Deadlock detection for your group chat. You’re waiting for Sam to text first. Sam is waiting for you. Sam is also waiting for Maya, who is waiting for the ‘original plan’ from a thread that died in March. We detect the wait-for cycle, pick a victim (usually you), and abort the transaction with a graceful ‘hey no pressure buuut’ sent on your behalf.”
The Problem
Every weekend two or more humans hold non-shared mutexes on the next move and politely refuse to release. Nothing happens. No one is mad. Everyone is starving. The plan is technically in flight, in the same way a body is technically in flight while falling.
The Solution
We sit on the group chat as a sidecar, build a live wait-for graph, and run cycle detection every 90 seconds. When we find a cycle, we elect a victim by lowest dignity_priority and ship a soft un-block message on their behalf. The transaction commits. Brunch happens.
Wait-For Graph
Each node is a person. Each arrow is “is waiting on.” A cycle means no one will ever go first.
Victim Selection
Once a cycle is found, someone has to die (socially). Our ranker picks the lowest-cost rollback — usually the person with the most forgiving texting culture and the fewest unread books on their nightstand.
SEV-1 · The 6-Person Birthday
A larger cycle resists single-victim abort. The system has to escalate, detect a transitive deadlock, and abort two transactions in series. Painful but survivable.
- day 0· jess sends “ok what are we thinking 🥹”. Six locks acquired.
- day 3· mark waits on devon; devon waits on you; you wait on the group; the group waits on jess; jess waits on mark. Pentagon of silence.
- day 11· watchdog fires. We elect
youas victim. You send “throwing out a wild idea but: bowling?” - day 11· partial recovery — 3/6 react with 👍. Inner cycle persists.
- day 19· second abort fires on devon. Reservation made. Jess cries in the car (good cry). System nominal.
Pricing
TAM
The Ask
$6M seed. Builds the graph engine, the on-device dignity ranker, and one (1) etiquette consultant who has been hand-tuning openers since 2003.
Series A pitch:“We’re Postgres’ deadlock detector, but the locks are emotional and the rollback is sending a meme.”