~/talk

Flash Sale Engineering

Talkat SREcon16 Europe · 2016-07-11..07-13· [web-performance, frontend-architecture]
slides:none on file

Engineered a queuing layer in the load balancer using Nginx + OpenResty Lua, a per-LB leaky bucket that only admits a calculated share of global checkout throughput (example capacity ~16), and a timestamp cookie plus a PID lag eliminator that shifts priority so early arrivals get served first. Back pressure is served as a cached throttle page with background polling, and end-to-end load tests cut p95 queue time from roughly the sale duration (~30 minutes) to a few minutes.

AI-written summary · about

  1. 0:00Start
  2. 1:28Flash Sales
  3. 2:26Urban Outfitters
  4. 3:02Notable Flash Sellers on Shopify
  5. 4:12Overview of How Shopify Works
  6. 9:15Feedback System
  7. 16:31Lag Indicator
~/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.