~/talk

Indemnity in the Data Layer

Talkat droidcon New York 2022 · 2022-09-01..09-02· [databases, android]
links:none on file
slides:none on file

Now in Android implements an offline first data layer that uses Room and DataStore for local storage, exposes read flows and async writes, and delegates queuing and network monitoring to WorkManager via a sync worker. Sync is push based with per-entity monotonic versioning, writes carry timestamps and resolve conflicts with last-write-wins, retries use exponential backoff, and repositories convert between network, entity, and UI models. The system runs in production and restores UI state within seconds after connectivity returns.

AI-written summary · about

  1. 0:00Introduction to Indemnity
  2. 1:15What is the data layer
  3. 1:58Meaning of indemnity
  4. 3:01Offline first design basics
  5. 6:30Modeling data in offline apps
  6. 7:31Offline first reads strategy
  7. 10:41Offline first writes strategy
  8. 13:28Sync and conflict resolution
  9. 20:26Real world implementation
  10. 27:10Summary and Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.