~/talk

Demystifying Protocol Buffers and gRPC

Talkat JSworld Conference 2023 · 2023-02-08..02-10· [web-platform, databases]
slides:none on file

Claims that Protocol Buffers and RPC become web-friendly are demonstrated with three working demos (trpc, GraphQL, protobuf) of the same to‑do app; generated clients serialize as JSON over HTTP, not opaque binary, and a Go backend services the protobuf demo. The toolchain uses Protobuf ES to produce tiny TypeScript bundles, Connect Web / Connect protocol to avoid browser-incompatible gRPC features, and connect query integrated with TanStack Query to give fully inferred types and usable state management.

AI-written summary · about

  1. 0:00Introduction
  2. 1:53Protocol Buffers and gRPC
  3. 5:00Protocol Buffers for cross-language APIs
  4. 8:31Protocol Buffers and gRPC on the web
  5. 9:33Modernizing Protocol Buffers
  6. 10:58Demo: tRPC vs GraphQL vs Protocol Buffers
  7. 11:18tRPC demo
  8. 13:27tRPC strengths and weaknesses
  9. 14:29GraphQL demo
  10. 17:57GraphQL complexity
  11. 18:38Modern Protocol Buffers with Connect
  12. 21:04Protocol Buffers as source of truth
  13. 22:09Code generation
  14. 23:53Modern Protocol Buffers advantages
  15. 24:56Future developments
~/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.