~/talk

How We Built Protosockets to Go Beyond HTTP and gRPC

Talkat SREcon26 Americas · 2026-03-24..03-26· [networking, web-performance]
links:none on file
slides:none on file

Built a lightweight, message‑oriented layer over raw TCP called Protosocket (Rust, Tokio) that drops HTTP/2 and gRPC overhead, uses per‑connection buffers and minimal synchronization, and is benchmarked with RPC PF on 1KB items at 50/50 read/write. Diagnosis uses flame graphs to find lock contention; gRPC unary ~20k ops/s, gRPC streaming ~25k, Protosocket ~70k (~3× throughput), enabling ~65% fewer servers and ~70% lower client p39 latencies.

AI-written summary · about

  1. 0:00Protosockets introduction
  2. 1:00Momento’s architecture
  3. 2:48Benchmark setup gRPC
  4. 4:12gRPC overhead measurement
  5. 5:57gRPC cost impact
  6. 7:00gRPC unary to streaming
  7. 8:26Rust gRPC scalability
  8. 9:30Flame graphs bottlenecks
  9. 11:59Protosockets library
  10. 13:44Protosockets benefits
  11. 14:49Protosockets client SDKs
  12. 16:53Performance gains latency
  13. 17:34Custom protocols trade-offs
  14. 19:03Key takeaways optimization
  15. 20:49When to use Protosockets
  16. 21:30Low-level systems journey
  17. 22:13Resources for learning
  18. 23:40Acknowledgements
~/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.