~/talk

Real World Migration from HTTP to gRPC in Ruby

Talkat gRPC Conf 2020 · on Monday, 2020-07-27· at 12:35· Session Room 2,· [ruby, microservices]
speakerdeck:south37
slides:none on file

Company running ~100 microservices on Kubernetes migrates interservice calls from HTTP/1.1 to gRPC with Protocol Buffers, using a central apis central schema repo to generate Ruby/Go/Node clients distributed via Bundler/npm, plus a servicex utility lib (hot reload, server command) and custom gRPC interceptors for logging and metrics. Migration follows a POC then gradual traffic ramp on production. Result: average latency drops ~50% (e.g., 130ms to 65ms) and 90th-percentile latency falls to about a seventh.

AI-written summary · about

  1. 0:00Intro
  2. 1:35Our products are built with 100+ microservices
  3. 2:46Latency caused by using HTTP/1.1
  4. 4:471. Preparation 2. Migration
  5. 5:26Without a monorepo, we have to share the same proto files across the multiple repositories
  6. 5:37How should we share proto files?
  7. 6:15apis: a central repository for schema management
  8. 8:04Application monitoring is required in production
  9. 10:22Need to create a productive development environment for gRPC
  10. 10:54Use a common utility library named "servicex"
  11. 12:39Pb: utility for using Protocol Buffers
  12. 13:59RAILS Use gRPC combined with parts of Ruby on Rails
  13. 17:35Average Latency decreased
  14. 19:21Summary 1. Why RPC
~/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.