Coming up in our next nginx for Windows release, but available now for
(EBLB) Elastic Backend Load Balancer, and (IWCP) Inter Worker
[Lua required, for Windows don’t try it until our next release]
EBLB allows you to manage and scale your upstreams including their
EBLB only works for one worker (the one receiving the EBLB request) in
to use EBLB with all workers you need IWCP.
If you only run with one worker you don’t need IWCP.
If you want to participate in testing you can find the source, GUI,
commandline examples and a working test nginx conf file, here:
IWCP has been designed as a generic solution to allow workers to talk to
each other and send over messages and/or commands. IWCP uses shared
and is blazing fast even under high load.
(a shared pool of 1mb allows 10.000 messages to be processed in ±40
with 8 workers)
Possible other usages for IWCP are:
- moving long running requests to workers only doing this type of
- swapping/scaling servers between overloaded upstreams in real-time
- dynamically change the runtime environment of all or only some workers
- if the shared memory pool is elsewhere you could talk to other nginx
instances and their workers
… needless to say it’s potential is huge.
Obviously IWCP is in its infant state and could do with more
comments, use cases and new code are welcome.
Source and other files will appear on github in due time (they are
there in fork merge requests).
Posted at Nginx Forum: