Ruby and gRPC
summary
Company splits a growing Rails monolith into separate services (content, users, messaging, payments) and connects them with gRPC with Protocol Buffers while keeping the client-facing API as BFF JSON front-end. Protos generate Ruby (and Go) stubs; local benchmarks show binary protobuf calls slightly faster than existing JSON endpoints. Challenges: proto-driven schema is strict so small experiments need regeneration, sparse tooling and tracing support, and initial deployments run as Kubernetes internal cluster services over insecure channels pending SSL setup.
AI-written summary · about
chapters (6)
- 0:00Introduction
- 2:07Monolith vs Microservices
- 10:18What is gRPC
- 14:40gRPC Code
- 21:11What did I learn
- 27:35Questions
related talks
16mgRPC on Ruby on Rails – a perfect match!
33m"RPC frameworks overview"
21mReal World Migration from HTTP to gRPC in Ruby
35mBeyond JSON: Improving inter-app communication
11m"RPC Frameworks Overview"
46mA Different Kind of Networking with gRPC and Protocol Buffers
46mIntroduction to gRPC
31mRPC Frameworks Overview
