~/talk

Context Aware Traffic Routing for Stateful Services using Envoy

links:none on file
name:Piaw Na
links:none on file
slides:none on file

Retrofits per-request routing by peeking into protobuf payloads with an Envoy custom filter that does partial protobuf parsing to extract envelope fields (app_id, server_id, player_id) and route before full deserialization. Prototype reduces memory by >50% for small messages and ~30% for 2MB messages, shifts client→server mapping into Envoy caches coordinated by a state coordinator service, and preserves 100% correctness while cutting backend storage lookups and end-to-end latency.

AI-written summary · about

  1. 0:00Thank you to our session recording sponsor!
  2. 0:50Context aware routing We can route messages based on the context of the message Context is provided by: . URL routing (usually used by websites) • Request Header leg used by load balancers • Side channel (usually used by apps) . As part of the message content
  3. 1:39Use cases • Retrofitting protocol based on content without application being aware • Use existing content to perform smarter routing
  4. 2:44Custom filter overview
  5. 3:08Load test setup Test Message size average OS KB
  6. 4:48Protobuf Wireformat
  7. 7:05Things of Note • Envelope can be retrofitted ., envelope does not have to be . The unique string can be changed to indicate backwards Oncompatible changes . More than one kind of address can be used for routing purposes
  8. 7:35Things of Note • Envelope can be retrofitted ., envelope does not have to be . The unique string can be changed to indicate backwards Incompatible changes . More than one kind of address can be used for routing purposes
  9. 8:02Load test setup (V2) Test
  10. 9:06Test 1 Resource Utilization (V2)
  11. 10:04Stateful message routing
  12. 10:51Stateful services message routing
  13. 12:14Proposed solution
  14. 15:31Client server mapping coordinator
  15. 16:10Conclusions • Shifting the client to server mapping can help with improving • Partial message deserialization can help when dealing with large message
~/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.