Page 1 of 1

A way to group # of connections to multiple servers/domain?

Posted: May 9th, 2020, 11:44 am
by thew1se
Hi,

I sometimes get too many connections errors. I think it may be because the servers have multiple locations, but they limit number of connections for all of them combined.

For example, thundernews says 50 connections, but has 3 servers:
eu.thundernews.com
us.thundernews.com
nl.thundernews.com

So even if i put 20 as the max connections, I can still get too many connections errors when all three are used.....

Is there a way to group the servers so they use 50 connections combined?

(for now I have set it to 20,15,15, but I think it should be more dynamic to optimize itself).

Re: A way to group # of connections to multiple servers/domain?

Posted: May 9th, 2020, 12:34 pm
by sander
thew1se wrote: May 9th, 2020, 11:44 am Is there a way to group the servers so they use 50 connections combined?
No
thew1se wrote: May 9th, 2020, 11:44 am (for now I have set it to 20,15,15, but I think it should be more dynamic to optimize itself).
Why?
With 20-15-15 what speed do you get?
With 15-15-15 what speed do you get?
With 10-10-10 what speed do you get?
With 20-0-0 what speed do you get?

Reason: above a certain limit, more connections do NOT mean more speed (but the opposite: less speed because of higher CPU load). So start at 10, measure the speed, raise with 5 until you read max. Then lower a bit.

Re: A way to group # of connections to multiple servers/domain?

Posted: May 9th, 2020, 12:36 pm
by thew1se
Well there are other servers with less connections available, so this feature would be nice.

I’m not experiencing any speed problems, just getting connection errors.

Re: A way to group # of connections to multiple servers/domain?

Posted: May 9th, 2020, 1:16 pm
by sander
thew1se wrote: May 9th, 2020, 12:36 pm Well there are other servers with less connections available, so this feature would be nice.

I’m not experiencing any speed problems, just getting connection errors.
Lower the number of connections. As trying to explain: no need for 50 connections.

With 20 connections I can achieve 60 MB/s