~/talk

Avoiding Conflicts in Highly-Concurrent Applications

Talkat FoundationDB Summit 2018 · on Monday, 2018-12-10· [databases, software-architecture]
links:none on file
slides:none on file

Describes three concrete techniques—atomic ops, snapshot reads, versionstamps—and applies them to a sync queue that must append and let multiple readers pop. Naive max_token increments cause frequent commit conflicts and lost inserts under concurrency; adding randomness plus snapshot reads reduces conflicts but still loses items. Replacing keys with commit-ordered versionstamps yields blind appends with zero conflicts and unlimited parallelism but increases key size (≈12 bytes), is non‑idempotent, and complicates deletes/updates and client bookkeeping.

AI-written summary · about

  1. 0:00Introduction
  2. 0:48What is a conflict
  3. 2:24Outline
  4. 2:40Atomic Operations
  5. 3:51Snapshot Reads
  6. 5:18Version Stamps
  7. 6:29Case Study Sync
  8. 7:08Simple Approach
  9. 8:51LowConcurrency
  10. 10:02Max Atomic
  11. 11:43The Deeper Problem
  12. 14:06Version Stamp Operations
  13. 15:40Problems with Version Stamp Operations
  14. 17:17Conclusion
~/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.