I could use some advice on how best to proceed -<br><br>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.<br>
<br>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.<br><br>If working with upstream/proxy, I could use some advice on where to hook in my datagram connect/send/receive functions.<br>
<br>If an independent module, any advice other then maybe looking at ngx_resolver and maybe the fastcgi module as starting points? <br><br>