July 16, 2018 08:27PM
Hello,

A couple of questions regarding UDP load balancing. If a UDP listener is configured to expect a response from its upstream nodes, is it possible to have another IP outside of the pool of upstream nodes send a response to the ephemeral port where nginx is expecting a response? I'm pretty sure the answer is no and the response has to come from the IP where the request was forwarded, but wanting to verify. We have a use case where another part of our backend system could possibly send that response if coded to do so, but I'm pretty sure this simply will not work.

Secondly, how long will nginx keep the ephemeral port open waiting for a response from the upstream node where the request is sent and is this configurable? It looks like proxy_responses might be helpful in quickly terminating a session after the desired number of responses are received?

Thanks.
Subject Author Posted

UDP load balancing and ephemeral ports

bwmetcalf@gmail.com July 16, 2018 08:27PM

Re: UDP load balancing and ephemeral ports

Maxim Dounin July 17, 2018 08:42AM

Re: UDP load balancing and ephemeral ports

bwmetcalf@gmail.com July 17, 2018 10:13AM

Re: UDP load balancing and ephemeral ports

Maxim Dounin July 17, 2018 10:24AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 292
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