A seat with a limit is where the two models really differ
One model makes the quest owner wait, the other makes the joiner wait; paying gems needs 3 steps in both.
Scenario 5
Ben takes 1 of 10 seats: the two models make different people wait
Ana in Singapore opens a quest with 10 seats. Ben in US West and Dan in Frankfurt want in. Somebody must count to 10, in one place.
In the 3-place rule that place is the global database. Watch who waits:
3-place rule: the seat lives in the global database
create quest
Ana's app
Singapore
Global database
US West
Ben's app
US West
1/3Ana creates her quest in the global database. She waits one ocean trip: about 187 ms.
Ben is fast because he lives next to the global database. Ana, who owns the quest, waits on each step.
In the call design the place is Ana's own regional database. Ben's call carries a request id: an id that makes a repeated write do nothing the second time.
Watch the wait move to Ben:
Call design: the seat lives in Ana's region
create quest
Ana's app
Singapore
Singapore database
Ben's app
US West
1/3Ana creates her quest at home. About 0.3 ms.
Both models count to 10 in one database. In the call design test, 30 people asked for 10 seats and exactly 10 got one. Measured, simulated distance
This table puts the waits side by side:
The 3-place numbers are estimates from the measured trip time; the rule itself never ran.
Who does what
3-place rule
Call design
Ana creates her own quest
About 187 ms
0.3 ms
Ben in US West takes a seat
Under 1 ms
182 ms
Dan in Frankfurt takes a seat
About 146 ms
About 160 ms
A call took 182 ms in the test, a plain write 187 ms: the same ocean. Dan's 160 ms is an estimate from the 79 ms one-way delay.
Neither model is faster overall. The call design favours the owner; the 3-place rule favours whoever lives near the global database.Estimate
Scenario 6
Ben pays 50 gems to join: the gems and the seat sit in different databases
Now the seat costs 50 gems. Ben's gems live in US West. The seat lives elsewhere, in both models.
No transaction spans 2 databases. So the join needs 3 steps, and each step carries a request id.
How it works
How Ben pays for a seat in 3 steps
In one lineHold the gems at home, let the place with the seats decide, then spend or return the gems.
Step 1, hold. US West moves 50 of Ben's gems into a hold, in one local transaction. Ben cannot spend them twice.
Step 2, decide. The place that owns the seats decides. Seat free: Ben gets it. Quest full: the answer is no.
Step 3, settle. US West turns the hold into a payment, or gives the 50 gems back.
If anything dies in between, a worker repeats the open step. The request id makes the repeat safe.
Press play to follow the 3 steps:
Hold, decide, settle
hold 50
Ben's app
US West
US West database
50 held
Place of the seats
global, or Singapore
1/4Step 1: one local transaction holds 50 gems.
The call design ran these 3 steps under failure. The table shows the results:
Results of the hold, decide, settle test, 22 Nov 2026, simulated distance.
Test
Result
30 people pay for 10 seats
10 payments, 20 returns, gem total exact
The answer of step 2 is lost for 50 people
All settled 517 ms after the link returned
The app is killed between steps, 30 times
Every hold settled
The place of the seats is unreachable for 10 seconds
Nobody got a seat twice
No gem was lost or doubled in any test. Measured, simulated distance The 3 steps work, but they are real code to own.
The 3-place rule offers a shortcut: put the gems in the global database too. Then the join is one transaction.
The price of the shortcut is high. Ben earns gems at every check-in. Each of those writes would cross an ocean for most people.
Scenario 7
A group quest day needs no global table, because every result has one owner
In a group quest, every member must check in each day. A member may skip or freeze a day.
Read literally, "everything else global" would send each result to the global database. Guard rule 2 says otherwise.
Each result has one owner: the member. So each result is a shared row, written at home:
1
A member checks in, skips or freezes
The member's own region writes the result in one local transaction. No ocean trip.
2
The result is copied
It reaches the quest owner's region 79 ms later.
3
The owner's region closes the day
When every member's final result has arrived, it writes one row: done or failed.
4
A link is cut
A missing result keeps the day open. Only a member's own region may write 'missed'.
The last step matters most. A broken link can never fail a day by mistake.
We ran 200 quest days with 4 members and random actions. 0 days ended wrong, and 0 differed between regions. Measured, simulated distance With a link cut for 10 seconds, 0 days failed falsely. Measured, simulated distance
The tests also found 2 faults in our first code. A freeze was used twice. A skip limit was passed. Both came from "read, then write" in 2 statements. One statement fixed each.