Welcome! Log In Create A New Profile

Advanced

Socket communication inside load balancer

Mike Gagnon
March 28, 2012 12:06AM
I am working on a new load-balancing module, similar to upstream-fair, but
with different requirements (and hence different features). One of my
planned features is that the module will send an alert when it detects an
overload.

Within my load balancing function (my implementation of
r->upstream->peer.get) I would like to send an alert to an external
process. I am considering sending it over either a socket connection or
perhaps a named pipe.

Does anyone have any tips on how I could accomplish this? Any pointers to
nginx code or 3rd party module code that performs similar communication?

Thanks,
Mike Gagnon
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

Socket communication inside load balancer

Mike Gagnon 1210 March 28, 2012 12:06AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 273
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready