~/talk

gRPC on Ruby on Rails – a perfect match!

Talkat Euruko 2025 · 2025-09-18..09-19· [ruby, microservices]
slides:none on file

Rails app adds gRPC by compiling .proto files with grpc-tools + grpc gem, generating people_pb.rb and service stubs and mounting an e‑commerce create_order RPC that returns create_order_response objects. A fleet tracking case runs ~10,000 devices, peaking at 56,000 invocations/hour, with gRPC containers CPU rising to ~12% and average response time 7–15 ms. Server runs on 0.0.0.0:5051 and keeps short open connections so Rails retains business logic without duplicating Node backends.

AI-written summary · about

  1. 0:00Introduction
  2. 0:31What is gRPC
  3. 1:13gRPC types and pillars
  4. 2:37Protobuf serialization
  5. 3:18Creating proto files
  6. 4:23Generating Ruby classes
  7. 5:29Defining gRPC services
  8. 6:34Service file usage
  9. 7:18Protobuf compatibility
  10. 8:25Simple e-commerce app
  11. 9:32gRPC in Rails
  12. 10:18Order service implementation
  13. 12:09Testing with gRPCurl
  14. 13:13Production use case
  15. 14:41Performance metrics
  16. 15:25Summary
~/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.