~/talk

Cheating the Cloud: 50% Savings with Compression Dictionaries

Talkat P99 CONF 2024 · 2024-10-23..10-24· [networking]
links:none on file
slides:none on file

Internode RPC traffic uses per-message lz4 by default which often yields only ~25% reduction and can appear as plain text in captures. A sampling node trains ZSTD with external dictionaries from real RPC samples, distributes dictionaries via the cluster, and negotiates per-connection versioning so sender and receiver share dictionaries. Benchmarks show structured RPC payloads compress roughly 50% smaller on the wire versus lz4, cutting network transfer and related costs while adding modest CPU for training and deployment.

AI-written summary · about

  1. 0:00Introduction
  2. 1:08Customer issue with compression
  3. 2:54Why LZ4 was chosen initially
  4. 3:56Basics of compression theory
  5. 6:05Dictionary coding explained
  6. 8:16LZ77 and LZ78 algorithms
  7. 10:04How LZ4 works
  8. 11:27Zstd compression advantages
  9. 12:33Problem with per-message LZ4
  10. 13:54Dictionary-based compression solution
  11. 14:15Benchmark results and conclusion
~/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.