~/talk

Don't be afraid to handle network loss in your code

Talkat Droidcon Paris 2015 · 2015-11-09..11-10· [android, databases]
links:none on file
links:none on file
slides:none on file

Claim: handle network loss by making local storage authoritative and letting a sync layer do replication. Uses Couchbase Lite plus Sync Gateway, with an HTTP listener that enables peer‑to‑peer replication discovered via QR code discovery or NSD/Wi‑Fi Direct. Demo shows photo attachments replicating between devices. Conflicts surface as multiple revisions; inspect with get_conflicting_revisions and resolve by merge, last‑writer rules, single‑writer/event‑sourcing, or prompting the user. Replication is push/pull; deployment requires running the gateway.

AI-written summary · about

  1. 0:00Intro
  2. 9:10Distributed databases
  3. 10:09Conflicts
  4. 12:58Demo
  5. 15:09Explanation
~/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.