~/talk

One Gateway, Thousands of Tenants: Scaling Envoy AI Gateway

links:none on file
slides:none on file

A production account of running a multi‑tenant AI gateway on Envoy that turns per‑tenant config into request metadata and avoids a config explosion: uses Envoy/Envoy Gateway (agent router) changes — merge backend to collapse thousands of identical clusters, limit from metadata to apply per‑tenant rate limits at request time, credential override to supply per‑tenant provider keys, and priority groups for dynamic fallback ordering. Cluster count drops from ~27,000 to ~40 and heap use falls from ~32 GB to a few hundred MB, keeping thousands of tenants viable.

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 1:04Problem with virtual keys as gateways
  3. 2:48Why choose Envoy for AI gateway
  4. 4:10Config growth explosion with thousands of tenants
  5. 9:26Why the configuration breaks Envoy
  6. 10:52Key as data not configuration
  7. 13:00Merge backend feature to reduce clusters
  8. 14:03Dynamic rate limiting from metadata
  9. 15:10Credential injection for per-tenant keys
  10. 16:13Priority groups for fallback chains
  11. 18:41Before and after scaling results
  12. 19:44Lessons learned and future improvements
  13. 21:26Q&A session
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.