~/talk

Data compression with Go

Talkat Golang Piter 2019 · on Friday, 2019-11-01· [data-engineering]
slides:none on file

Shows concrete Go implementations and numbers: explains LZ77 with double-hash tables and a repeat-offset trick, outlines Asymmetric Numeral Systems and Huffman basics, and benchmarks compressors on real JSON/binary inputs. Reports gzip-style compression hitting ~200 MB/s compression, practical throughputs of 700–800 MB/s and peaks near 3 GB/s for decompression, and compares zstd, xz and legacy DEFLATE tradeoffs. Gives reproducible benchmarking tips (no allocations, real data sets) and warns that ~40‑byte records usually aren’t worth per-item compression.

AI-written summary · about

  1. 0:00Introduction
  2. 1:06Why compress data
  3. 2:10Compression algorithms basics
  4. 3:13How LZ77 works
  5. 4:19Hashing in compression
  6. 5:43Hash tables and role
  7. 7:14Double hash tables
  8. 8:40LZ77 repeat offsites
  9. 10:08Hash table optimization
  10. 11:11Entropy encoding
  11. 13:21Compression limits
  12. 15:41Huffman coding
  13. 17:07Numeral systems for compression
  14. 18:37Dictionary sharing
  15. 19:22Context mixing
  16. 20:07Benchmarking algorithms
  17. 21:53Data compression examples
  18. 24:38Real compression formats
  19. 26:54Format comparison
  20. 29:57Zstandard advantages
  21. 32:13Q&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.