Multiple servers
DisasteR opened this issue · comments
Hi,
Really good work with this updates (config files, ...)
Can you integrate multiple servers management ?
To permit aggregation of the connexion slots of the servers.
Server 1 : 20 slots
Server 2 : 10 slots
- 28 current connexions through the proxy
- new user connect with 3 allowed slots : create the two first connexions with server 1 and the third with server 2
Regards,
P.S: tu n'etais pas a epitech par hasard ? (oui je suis francais mais je prefere l'anglais sur github)
This seems doable, I just need to find the time to code this. Except a multiservers
branch in the next few days.
PS : nope, I'm not from epitech
I look forward to it :)
maybe with possibility to choose method to swith to other server.
- first one full next slot to second.
- leastconn always open new slot on server with the less open slots.
I have some others suggestions to add features to the proxy from an old project i have never found time to start.
- Accept reread of the config file without killing currents connexions slots.
- use DB (sqlite, mysql, ...) for servers and users configurations.
- allow Soap request to the proxy to monitor/administrate
- Monitor commands :
- getCurrentConnections()
- getCurrentConnections(string username/int userid)
- getCurrentBandwith()
- getCurrentBandwith(string username/int userid)
- Administration :
- ReloadConfig()
- ReloadUsers()
- ReloadServers()
- Monitor commands :
- save download statistics global and users (file/db/rrd/...)
All that to permit management of the proxy though a web interface or console client.
Hi,
Have you some news about that request ? Hope you'll find some time for it :)
Regards,
Sorry, I did not have to implement this feature. But pull requests are always welcomed :)
Any chance you would have time to implement this feature now? Thanks!