~/talk

Envoy Internals Deep Dive

Talkat KubeCon + CloudNativeCon Europe 2018 · 2018-05-02..05-04· C1-M4· [networking]
links:none on file
slides:none on file

Explains how Envoy is built as a single-process, per-core worker data plane with a lightweight main thread and no thread pools, using an embarrassingly parallel model. Describes concrete mechanisms: RCU + TLS for lock-free cluster/route updates, TLS histogram flipping for merges, and a hot restart protocol that shares stats via shared-memory stats and passes sockets so binary or config reloads preserve connections. Claims scale to many hardware threads, supports HTTP/2 gRPC Redis MongoDB, and runs in production at Lyft.

AI-written summary · about

  1. 0:00Start
  2. 0:40Agenda
  3. 4:33Service Config Discovery
  4. 5:19Observability
  5. 6:32High-Level Architecture Diagram of Envoy
  6. 6:49Connection Processing
  7. 8:00Http Connection Manager Filter
  8. 8:45Router Filter
  9. 8:58Cluster Manager
  10. 9:42Parallel Managers
  11. 10:02Discovery Service Api
  12. 12:05Multiple Connections per Thread
  13. 13:02Core of Envoy
  14. 13:42Main Thread
  15. 25:14Hot Restart
  16. 25:49Rolling Deploy
  17. 32:04Scope
  18. 34:30Flush the Cache
  19. 35:00Tls Histograms
  20. 36:04Summary
~/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.