~/talk

gRPC Metadata Limits: The Good, the Bad, and the Ugly

Talkat gRPConf 2024 · on Tuesday, 2024-08-27· at 14:05· Red Willow· [networking, security]
links:none on file
slides:none on file

gRPC C++ metadata is unchecked and can overflow receivers and proxies so production shows two failure modes: a proxy with a lower limit rejects requests, and adding a few bytes to a header across all calls causes a total outage. The team builds a global proxy cap and replaces one limit with a soft limit (defaults to 8 KB) and a hard limit (defaults to 16 KB) exposed as grpc.arg_max_metadata_size and grpc.arg_absolute_max_metadata_size. Errors surface as RESOURCE_EXHAUSTED with exact actual versus allowed sizes and per-key byte counts.

AI-written summary · about

  1. 0:00gRPC metadata intro
  2. 0:43What gRPC metadata is
  3. 1:47Power of metadata in gRPC
  4. 2:07Metadata flow limits
  5. 3:10Production issues from flow limits
  6. 4:57Global metadata limits
  7. 5:17Metadata failure case study
  8. 6:01Soft and hard limits solution
  9. 7:03Metadata management takeaways
  10. 8:08New channel arguments
  11. 8:31Observability challenges
  12. 9:17Q&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.