~/talk

Improving performance of RPCs with envoy

Talkat EnvoyCon 2020 Virtual · on Thursday, 2020-10-15· at 12:00· Virtual, Virtual· [networking]
links:none on file
slides:none on file

Wikimedia adds Envoy sidecars to terminate TLS and hold persistent connections so PHP workers stop creating a fresh TLS session per request, and measures show big wins: a cross‑DC PHP benchmark goes from about 720 rps without TLS to 1050 rps when PHP calls localhost Envoy, session‑store pod CPU drops from 2.5→0.7 CPUs, and latency buckets shift with far fewer >10 ms tails. Operational fixes include limiting requests per connection to 1000, tuning Envoy idle timeout to 4.5s vs server 5s, and using iptables for transparent routing.

AI-written summary · about

  1. 0:00Start
  2. 6:53The transition
  3. 9:55Struggles
  4. 15:33Cost of a TLS connection
  5. 23:20Other things we gained
~/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.