Realtime where it earns it
Live listeners so two devices see the same state at the same moment, and plain reads everywhere else.
Infrastructure decisions are the ones that are expensive to reverse. Where the data lives, who is allowed to write to it, and what happens when a request fails halfway — we settle those deliberately, and we measure rather than assume.
Live listeners so two devices see the same state at the same moment, and plain reads everywhere else.
Balances and settlement computed by the backend. A client can display a number; it never gets to decide one.
Security rules written against a threat model and tested against it, not left permissive with a comment.
Region choices made by measurement, environments that match, and a pipeline that refuses a deploy it cannot verify.
Data shapes, access patterns, and where money and state are allowed to move.
Functions, rules and listeners, with tests around anything that charges.
Failure testing — dropped connections, retries, partial writes, region checks.
Monitoring, alerting, and a runbook for the day something does go wrong.