~/talk

Rethinking Syncing

Talkat AltConf 2019 · 2019-06-03..06-06· [databases]
links:none on file
slides:none on file

Claims that replacing REST sync logic with a real‑time NoSQL stack (Couchbase + sync server + Couchbase Lite on iOS, alternatives: Realm, Firebase) cuts most syncing code: model objects use Swift Codable, replication runs continuous push/pull replicators, and a demo app with two devices keeps lists instantly in sync, so it works. Caveats: large documents slow sync, need channel design and migration strategy, no built‑in NSFetchedResultsController equivalent, and you can run multiple replicators to control priorities.

AI-written summary · about

  1. 0:00Intro
  2. 1:33Syncing Variables
  3. 3:45To-Device Syncing Approaches
  4. 5:34The Net Change Approach
  5. 11:10From-Device Syncing Approaches
  6. 13:21Complications to REST API Syncing
  7. 15:16REST API Syncing Summary
  8. 17:43The idea
  9. 21:56What just happened
  10. 23:13How do we implement?
  11. 23:39Model Objects
  12. 24:50Data Controller cont
  13. 26:51Fetching Data for Display
  14. 29:27Handling Refresh on Change
  15. 29:55Adding Data
  16. 30:44Deleting Data
  17. 33:59Eventually consistent DB Disadvantages
  18. 37:35Eventually consistent DB Best Use Cases
~/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.