On the Device
The rectangle labelled "user" is a replica you do not control, cannot upgrade and cannot take offline. Local stores, optimistic writes, sync, and conflict resolution on the device.
Units on this floor
- The client is a distributed node8.01 · 14 min
Every architecture diagram in this course has had a rectangle on the left labelled "user" or "client", and every one of them has been lying to you. That rectangle is not a boundary. It is…
- Offline-first and the local store8.02 · 15 min
There is a spectrum here, and teams routinely commit to a point on it without noticing that the steps are not evenly spaced:
- Optimistic UI and the rollback you must design8.03 · 13 min
Tier 0's numbers said a round trip from Mumbai to Virginia is about 180 ms, and no code makes light faster. Add TLS, server time, the return leg, and a mobile radio that has to wake up…
- Sync engines and conflict on the device8.04 · 16 min
Strip away the mobile framing and state the problem plainly: two replicas, both accepting writes, intermittently connected, one of them untrusted. That is multi-leader replication from…
- Observing a client you cannot reach8.05 · 14 min
Tier 9 built you observability for systems you operate. This lesson is the same problem with the two assumptions removed: you cannot log into the machine, and the machine only tells you…