Scripting NGINX for Overload Protection

nginx.conf 2016 presentation on Shopify flash sales

7 years ago (2017-01-22)

I spoke at nginx.conf in September about how Shopify uses NGINX for handling flash sale load. tl;dr you can use Lua or nginScript to cache dynamic content and build a queueing system directly into your load balancers. We do this in a stateless way so load balancers don't need to synchronize. I also touched on our network/inter-DC routing setup and tools for debugging NGINX in production.



Related talks: