Welcome! Log In Create A New Profile

Advanced

Need advice on implementing alternate upstream protocol

J.Q. S.
October 01, 2011 02:18AM
I could use some advice on how best to proceed -

I am exploring the idea of using a datagram protocol to broadcast http-like
requests to a cluster of backend servers, where one of the servers will
respond with either a small payload to send directly to the browser or a
pointer to a network device where a file can be read and sent back. I won't
know which server will respond, responses could come back in a different
order then I send them, and each worker would have a single datagram socket
for receiving responses to queries from the same worker.

The most significant question I need to answer, would it be better to try
and do this within the upstream/proxy framework nginx provides, or to do an
independent module.

If working with upstream/proxy, I could use some advice on where to hook in
my datagram connect/send/receive functions.

If an independent module, any advice other then maybe looking at
ngx_resolver and maybe the fastcgi module as starting points?
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

Need advice on implementing alternate upstream protocol

J.Q. S. 1459 October 01, 2011 02:18AM

Re: Need advice on implementing alternate upstream protocol

Valery Kholodkov 630 October 03, 2011 05:00AM



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

Online Users

Guests: 66
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready