Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple servers #6

Open
DisasteR opened this issue May 23, 2013 · 5 comments
Open

Multiple servers #6

DisasteR opened this issue May 23, 2013 · 5 comments

Comments

@DisasteR
Copy link

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)

@nieluj
Copy link
Owner

nieluj commented May 25, 2013

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

@DisasteR
Copy link
Author

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()
  • save download statistics global and users (file/db/rrd/...)

All that to permit management of the proxy though a web interface or console client.

@DisasteR
Copy link
Author

Hi,

Have you some news about that request ? Hope you'll find some time for it :)

Regards,

@nieluj
Copy link
Owner

nieluj commented Jul 31, 2013

Sorry, I did not have to implement this feature. But pull requests are always welcomed :)

@toadyus
Copy link

toadyus commented Jan 10, 2014

Any chance you would have time to implement this feature now? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants