~/talk

Reliable High-Performance HTTP Infrastructure with nginx and Lua

Talkat Philly ETE 2016 · on Monday, 2016-04-11· [web-platform, devops-and-delivery]
slides:none on file

Built an in-house API gateway using nginx and Lua plus HAProxy, Ansible, OpenStack and Jenkins, replacing a vendor product with ~3,000 lines of Lua and Python. Capacity uses concurrent request limiting via shared-memory counters instead of token buckets, globally averaging limits across nodes. Results: about 400 endpoints hosted, a light day of 367 million requests (≈4,000 req/s), median latency for a key API falls from ~200ms to ~20ms, proxy overhead is sub-50ms, and the system prevents at least one major outage.

AI-written summary · about

  1. 0:00Introduction to project
  2. 3:10Challenges with legacy system
  3. 8:25Goals for new architecture
  4. 10:11Why nginx and Lua
  5. 14:24Plugin architecture design
  6. 20:52Single data center setup
  7. 24:48Capacity management approach
  8. 29:02Deployment workflow
  9. 31:10Performance results
  10. 35:27Outage prevention success
  11. 36:32Implementation challenges
  12. 39:21Key takeaways and advice
  13. 40:45Q&A session
~/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.