This website requires JavaScript.
Explore
龙芯爱好者论坛
Help
Register
Sign In
hcq
/
MaxScale
Watch
1
Star
0
Fork
0
You've already forked MaxScale
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
c1c8bf9fc513b8294c30bae77dd770d1cac7d882
MaxScale
/
server
/
modules
History
Jan Lindström
c1c8bf9fc5
Removed unnecessary loop of servers. Now we loop over all the servers, if running server is found and candidate is not set we set that server as candidate. If candidate is set and we find any that have fewer connections than our candidate server. If a server has less connections than the current candidate we mark this as the new candidate to connect to. If a server has the same number of connections currently as the candidate and has had less connections over time than the candidate it will also become the new candidate. This has the effect of spreading the connections over different servers during periods of very low load.
2013-08-13 11:55:34 +03:00
..
include
moving files to /server to make merge possible
2013-07-28 05:31:11 +00:00
monitor
Typos
2013-08-12 13:11:05 +03:00
protocol
Initialized addr length indicator in telnetd_accept
2013-08-12 21:06:44 +03:00
routing
Removed unnecessary loop of servers. Now we loop over all the servers, if running server is found and candidate is not set we set that server as candidate. If candidate is set and we find any that have fewer connections than our candidate server. If a server has less connections than the current candidate we mark this as the new candidate to connect to. If a server has the same number of connections currently as the candidate and has had less connections over time than the candidate it will also become the new candidate. This has the effect of spreading the connections over different servers during periods of very low load.
2013-08-13 11:55:34 +03:00