Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> You can reload configuration multiple times per second (and many NGINX users do exactly that)

I thought this was an interesting remark. Can anyone clue me in to what these "many users" might be doing, that requires them to reload configuration so frequently?



Service Discovery. Dynamically generating routing rules so microservices can have pretty URLs. For example with us when you deploy a new version of a microservice it starts on a random port, registers with Consul on startup and then dynamically regenerates and reloads Nginx.


I know of at least one VPS company that build its load balancer SaaS offering on NGINX and it automatically reloads whenever a node is added/removed.

So I would assume it was that function that would cause such rapid reloads. [e.g. If you had a 50 node pool, you might go +/-5 over a span of a second and change the config 5 times in 1s]


I front my docker fleet with Nginx and I need to reload config for new hosts


Dynamically generating urls, like tumblr or github pages? (just a guess)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: