~/talk

How Low Can You Go? A Comparative Dive Into gRPC and TtRPC for...

Talkat gRPConf 2024 · on Tuesday, 2024-08-27· [networking, embedded-and-hardware]
links:none on file
links:none on file
slides:none on file

ttRPC targets low-memory, low-latency local RPC by stripping features — removes HTTP/2 and TLS — and shipping simple message framing with protobuf; it sees adoption in containerd and kata and has Go and Rust implementations. Benchmarks use simple proto payloads, 200 warmup + 5k requests, Go runtime MStats and pmap. Results show smaller wire cost (~80 vs ~380 bytes) and ~100µs vs ~150µs latency, mixed memory results (Go: gRPC better on small payloads, ttRPC lower RSS; Rust: gRPC wins). Implementation quality, not protocol design, appears the main limiter.

AI-written summary · about

  1. 0:00gRPC vs ttrpc intro
  2. 1:05What is ttrpc
  3. 3:13ttrpc design goals
  4. 6:23Protocol stack differences
  5. 8:51ttrpc message framing
  6. 11:41ttrpc streaming
  7. 12:44Network behavior comparison
  8. 13:06Benchmark setup
  9. 15:16Latency results
  10. 16:20Memory profiling
  11. 18:27Go memory usage
  12. 19:31Rust memory usage
  13. 20:17Benchmark takeaways
  14. 20:37Q&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.