~/talk

Reducing gRPC Call Volume Through Caching and Batching

Talkat gRPConf 2024 · on Tuesday, 2024-08-27· at 12:05· Valley Oak· [microservices]
links:none on file
slides:none on file

Netflix wires cache directives into protos and injects interceptors so Java clients use Google/Guava and off‑heap caches and a distributed Netflix/EVCache without API changes; result: fleetwide Java-client cache hit rate is ~75% so only ~25% of calls reach servers, and a particular experimentation path drops to ~5% hitting servers. An in-channel interceptor buffers messages, non‑blocking queries caches, and on cache miss forwards to transport. A separate request batching implementation aggregates nearby stub calls into one RPC but is now rare and slated for retirement; streaming and security contexts complicate caching.

AI-written summary · about

  1. 0:00gRPC caching and batching intro
  2. 1:43Caching expensive gRPC ops
  3. 3:28Proto-based caching config
  4. 6:36Advanced caching config
  5. 8:42Caching limits and security
  6. 9:45Caching strategies
  7. 10:27Measuring Netflix caching
  8. 11:53Request-scoped caching
  9. 12:55Inefficient call patterns solved
  10. 14:18gRPC request batching details
  11. 15:43Batching evolution and retirement
  12. 16:26Q&A
~/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.