patch

Recently, I wrote about the dynamic resolution of upstream servers in
nginx which was achieved by quite an intrusive patch to the core nginx module.
The patch was invented a while ago and was working very well up until recent
nginx versions were released.

With the release of nginx 1.10 it was noticed that the patch crashes some
workers under heavy load and this was unacceptable for the production load,
hence a new approach was implemented.

The beauty of the new solution is that it is non-intrusive and works with any
services that communicate via sockets.