~/talk

Server-side network protocol

Talkat Code BEAM SF 2019 · 2019-02-28..03-01· [networking]
links:none on file
slides:none on file

Prototype server implements Postgres v3 on the wire using Erlang, demonstrating concrete decoding and encoding code, a connection handler that coalesces/splits TCP chunks, and a separate protocol state machine built with gen_statem. Examples show binary pattern matching to parse length-prefixed messages, use of i/o lists to avoid memcpy, handling ambiguous authentication tags, and returning correct row description/data/command-complete sequences; the prototype works and exposes performance and metadata-integration tradeoffs.

AI-written summary · about

  1. 0:00Introduction
  2. 0:34Project background
  3. 1:57Client library
  4. 2:37Project overview
  5. 4:22PGV3 messages
  6. 5:23Exceptions
  7. 6:23Binary pattern matching
  8. 8:17Message decoding
  9. 10:53Null terminated strings
  10. 12:46Lists of integers
  11. 14:04List of bytes
  12. 14:20Unit
  13. 16:36Bind
  14. 19:00Decode
  15. 25:13Connection Handler
  16. 26:43Message Language
  17. 36:47Jen Stadium
  18. 41:21Summary
  19. 41:52Challenges
  20. 42:44Lessons Learned
  21. 44:09Closing
~/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.