~/talk

Tracing HTTP/2 traffic using gRPC tapping filter with hardware acceleration

Talkat EnvoyCon 2023 · on Monday, 2023-11-06· at 16:25· W175abc, McCormick Place· [observability, networking]
links:none on file
name:Yizhou Xu
links:none on file
slides:none on file

Built a streaming gRPC tap sink that pushes connection-level traces off the main thread, adds a ConnectionInfo cache replay so restarted collectors get prior connection metadata, and emits counters for traced traffic; replaces admin-file tapping that bottlenecks the main thread. Overhead measures show <5% throughput loss and ~1–2 ms added latency at peak, and it traces hundreds of thousands to a few million RPS in production. Memory copies use a transparent DSA offload (threshold ≈200–256 KB) to shift large-copy work to PCI DSA hardware.

AI-written summary · about

  1. 0:00gRPC tapping filter intro
  2. 1:25HTTP/2 traffic tracing in 5G
  3. 3:12Metrics and logs limitations
  4. 5:45Envoy filter architecture basics
  5. 8:09Layering Envoy filters
  6. 9:13Selective tracing with sockets
  7. 11:19Avoid file/admin syncs
  8. 13:51gRPC sync solution design
  9. 16:23Connection replay mechanism
  10. 17:49HTTP vs connection tapping
  11. 18:34Tracing stats and overhead
  12. 19:59Hardware-accelerated memory copies
  13. 23:07Intel Data Streaming Accelerator
  14. 26:24DSA performance testing
  15. 28:34Hardware acceleration future
  16. 29:35Upstreaming tapping filter status
  17. 30:19Q&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.