~/talk

Efficient Client-Server Communication with Differential Synchronization and JSON Patch

Talkat SpringOne2GX 2014 · 2014-09-08..09-11· [web-platform, web-performance]
speakerdeck:briancavalier
slides:none on file

Differential Synchronization plus JSON Patch reduces many REST calls to a single atomic request by sending only deltas, demonstrated by batching many creates/updates/deletes into a single HTTP PATCH instead of dozens of PUT/POST/DELETE calls. A Java server-side library (spring-sync) applies patches directly to Java object graphs; a client library (jiff.js) diffs and patches JS objects and DOM. Demos show multi-client realtime sync over STOMP and websocket streaming, undo/redo via patch algebra, and a working snapshot release for experimentation.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 2:19Problems with traditional REST
  3. 7:20Differential synchronization explained
  4. 14:01JSON Patch format overview
  5. 23:11Demo: Batch operations with JSON Patch
  6. 28:59Spring Sync server implementation
  7. 33:12Demo: Multi-client synchronization
  8. 36:41Client-side differential sync
  9. 42:02Challenges in Java object patching
  10. 52:09Demo: UI sync with JavaScript
  11. 56:20Advanced: Patch algebra and undo/redo
  12. 1:02:07Demo: Patch algebra features
  13. 1:08:41Challenges and future work
  14. 1:12:36Summary 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.