~/talk

RPC Frameworks Overview

Talkat Balkan Ruby 2019 · 2019-05-17..05-18· [api-design, microservices]
links:none on file
slides:none on file

Eighty slides at 30 seconds each and a migration of more than 50 services from internal REST/JSON to an RPC hub are the concrete cases here: production system uses gRPC with Protocol Buffers, Amazon SQS for queues and HashiCorp service discovery, yielding lower latency, smaller payloads (protobuf bytes vs ~25B JSON example), shared schemas for versioning, and full-duplex streams; downsides include HTTP/2 load‑balancer issues. Alternative specifics covered: Thrift, Cap’n Proto (claims zero encoding), Finagle, Dubbo and Avro, with varied language support and tooling.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 1:04What is RPC and its history
  3. 2:12Migration from REST to RPC
  4. 3:59Why RPC framework
  5. 5:25Overview of RPC frameworks
  6. 5:49gRPC framework details
  7. 7:39Protocols and serialization
  8. 9:05How Protocol Buffers work
  9. 11:34Comparison with JSON
  10. 13:02gRPC code generation
  11. 14:05gRPC pros and cons
  12. 15:32Twitch TChannel framework
  13. 17:21Apache Thrift framework
  14. 20:57Thrift pros and cons
  15. 22:00Cap'n Proto framework
  16. 24:30Finagle framework
  17. 26:43Dubbo framework
  18. 28:08Apache Avro framework
  19. 29:16Benchmarking considerations
  20. 30:01Distributed Ruby
~/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.