~/talk

Lightning Updates

Talkat Core C++ 2023 · 2023-06-05..06-07· [software-architecture]
slides:none on file

A C++ update system for hundreds of millions of users that stores states as immutable metadata/snapshots/deltas addressed by content-addressable hashes, implemented with only the standard library. Clients download tiny metadata or delta files (often a few kilobytes), find a path using timestamped “jump” links (hourly/daily/weekly shortcuts), and apply patches via a user-provided apply function; state is published with an atomic shared_ptr of immutable state so switches are atomic and zero-copy. Used patterns include strong wrapper types for hashes, signature verification, and virtual‑filesystem diffs for AV signatures and config sync.

AI-written summary · about

  1. 0:00Introduction to app updates
  2. 1:15Immutable state updates
  3. 2:41Delta and snapshot updates
  4. 5:05Content-addressable hashes
  5. 8:41Metadata and graph structure
  6. 11:47Strong typing for hashes
  7. 16:20Object variants and validation
  8. 20:36State management with shared pointers
  9. 23:45Pathfinding in update graphs
  10. 27:43Downloading update paths
  11. 33:05Applying updates atomically
  12. 36:34Five functions for any data type
  13. 38:40Update API design
  14. 41:10User workflow with updates
  15. 43:17Real-world use cases
  16. 45:56Q&A on update strategies
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.