extremecoders-re / go-dispatch-proxy

SOCKS5/Transparent load balancing proxy developed in Go, combines multiple internet connections
MIT License
278 stars 45 forks source link

When Contention ratio is needed? #20

Closed BEST8OY closed 2 years ago

BEST8OY commented 2 years ago

Hi When Contention ratio is needed? I mean if for one connection is 3 and for other connection is 2 what's its effect on combined connection? what's its difference with 1 ratio for each connection?

extremecoders-re commented 2 years ago

When Contention ratio is needed?

Needed when you're combining two or more Internet connections with different bandwidths, like a 100 Mbit fiber uplink and a 10 Mbit ADSL uplink. You would want more connections to be routed over fiber than ADSL.

I mean if for one connection is 3 and for other connection is 2 what's its effect on combined connection?

Out of five consecutive TCP connections, the first 3 will be routed over connection 1 and the next 2 over the second.

what's its difference with 1 ratio for each connection?

A ration of 1 implies all internet connections are equal with no routing preference. The load will be evenly distributed. Useful when all of your Internet connections are of similar type.