Welcome! Log In Create A New Profile

Advanced

Re: UDP Load balancer does not scale

Maxim Konovalov
May 22, 2017 02:44AM
Hello,

On 16/05/2017 10:10, ajmalahd wrote:
> Hi
>
> I am trying to set up a UDP load balancer using Nginx. Initially, I
> configured 4 usptream servers with two server processes running on each of
> them.
> It gave a throughput of around 24000 query per second when tested with
> dnsperf. When I try to add two more upstreams servers, the throughput is not
> increasing as expected. In fact, it deteriorates to the range of 5000 query
> per second with the following error:
>
[...]

With adequate hardware you should expect at least 10x more.

I would double check if you are not CPU bound on the server and
client side (yes, I read your note about that but it's worth to
check again). It could be that nginx uses just one worker/cpu.
Same about the client.

Then check if no bottleneck at the network layer / UDP with your
preferred tool. Check the OS network metrics for any obvious limits.

Also, it makes sense to read the following great slides about udp
perf tuning from Toshiaki Makita from NTT:

http://textlab.io/doc/15478046/boost-udp-transaction-performance

--
Maxim Konovalov
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

UDP Load balancer does not scale

ajmalahd May 16, 2017 03:10AM

Re: UDP Load balancer does not scale

Maxim Konovalov May 22, 2017 02:44AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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