~/talk

Binary Protocols - The Current State of Affairs

Talkat CloudNativeCon + KubeCon Europe 2017 · on Wednesday, 2017-03-29· at 13:55· A 06· [microservices]
links:none on file
slides:none on file

Compares Protobuf, FlatBuffers and CapnProto and gives concrete tradeoffs: Protobuf requires full-message read and uses varint length-delimited fields, so it keeps wire footprint small and suits frequent small RPCs; FlatBuffers and CapnProto use zero-copy root/table layouts for direct memory mapping, so traversal into large nested data is much faster; CapnProto binds data into 64-bit words and builds root-down while FlatBuffers builds bottom-up via vtables, which increases padding and message size but reduces decode CPU. Tooling is mature; choose by payload shape not benchmarks.

AI-written summary · about

  1. 0:00Introduction
  2. 0:28Morse Code
  3. 3:58History
  4. 4:10Problems with RPC
  5. 5:04HTTP
  6. 5:25XML
  7. 5:57JSON
  8. 6:26Web Services
  9. 7:02Make it Fast
  10. 7:45Protocol Buffers
  11. 9:40String
  12. 9:58Variable Integer
  13. 13:09Captain Proto
  14. 14:07Words of Data
  15. 14:42CaptainProto
  16. 15:27FlatBuffers
  17. 16:56More Options
  18. 17:16Benchmarks
  19. 17:48Tooling
  20. 18:21Why Binary Protocols
  21. 19:11Microservices
  22. 20:29Shrinking Footprint
  23. 20:46Economy Stupid
  24. 21:29Container Solutions
  25. 21:44Cloud Native
  26. 22:14Streaming
  27. 24:32proto
~/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.