~/talk

Serialization Protocols with Scala

Talkat Scala Days Berlin 2018 · 2018-05-14..05-17· [api-design]
slides:none on file

Advises do not use Java/Scala serialization because it leaks implementation details, is insecure and brittle for evolution. Compares four practical choices: Protobuf (proto3 + ScalaPB) for compact binary messages with numbered fields and decent evolution; Thrift/Scrooge as a heavier RPC+protocol stack; Avro for big data files with embedded writer schema or Confluent schema registry for small-message optimization; Kryo for maximum speed and density — Kryo is smallest and fastest (example: Kryo 16 bytes vs Thrift 32 bytes) but lacks schema evolution.

AI-written summary · about

  1. 0:00Start
  2. 2:47Distributed Systems Are about Protocols Not about Implementations
  3. 12:19Performance
  4. 16:42Backwards Compatibility
  5. 17:52Protobuf
  6. 24:03Recap
  7. 24:29Thrift
  8. 31:47Avro
  9. 34:21Cryo
  10. 37:26Simple Binary Encoding
~/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.