3 places
Page 8 of 8 · Decide

Three decisions are waiting for your answer

Every open question is here, with its context and options. Pick, add notes, then copy it all back in one go.

Q1Which model do we build on?
Context

Both models keep private data in the regional database and owner-written data in shared tables. They differ for data that several people write, such as seats in a quest with a limit. The call design was tested on one machine; the 3-place rule was reasoned from the same numbers, not run.

Where should data live that several people write and that has a limit or must be unique?

Pick one
Why we recommend A: It removes the calls between regions and the routing code, and the 3 guard rules keep the global database small.
Q2Where do gems live?
Context

A person earns gems at every check-in and sometimes spends them on a seat in a quest. The gems and the seat sit in 2 databases, so paying for a seat cannot be one transaction. The 3 steps hold, decide, settle were tested: 30 people for 10 seats, no gem lost or doubled.

Should gems stay in the person's regional database, or move to the global database?

Pick one
Why we recommend A: Earning gems happens far more often than a paid join, so the common action should stay local and fast.
Q3Where does the global database sit?
Context

The global database lives in one region, and writers in the other 2 regions wait one ocean trip. In the tests it sat in US West, so Singapore waited 187 ms and Frankfurt 146 ms. We do not know yet where most of our people will live.

Which region should hold the global database?

Pick one
Why we recommend A: The wait falls on the fewest people, and a move later is one planned switch of a small database.
+Anything else
Your comments

Comments from every page

Select text on any page, then right-click (or tap Comment). Remove any with ×. Only what is left here gets copied, and a copied comment is marked sent so it is never copied twice.

No comments yet.

Send it back

Copy your answers and comments back in one go

Preview of what gets copied