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

Start all channel servers independently from the others. #33

Open
halexys opened this issue Aug 24, 2022 · 4 comments
Open

Start all channel servers independently from the others. #33

halexys opened this issue Aug 24, 2022 · 4 comments
Labels
enhancement New feature or request

Comments

@halexys
Copy link

halexys commented Aug 24, 2022

Staring channels servers independently could help to prevent a crash in in all servers. Also could help to host a channel server in a host and the launcher, signing and entrance in another host.

@Evotushon
Copy link
Contributor

You mean hosting some servers in different machines (like launcher server in one, sign server in another and so on)?
If you mean this then it could be possible but it would require some kind of server getting data asynchronously from more than 1 server at a time

@sekaiwish
Copy link
Member

I have considered modifying channelserver to use a port range (54001-54999) and if a port fails, it'll try to spin up the server on the next port. The only issue I forsee with this is users having to use port triggering instead of only mapping 8 or so channelserver ports. This would also simplify the config by having the port field be an override and blank by default. If there's any interest in applying it this way, I will implement it.

@sekaiwish
Copy link
Member

Also, as suggested in OP, the individual servers can be commented out to not be booted. This is actually not uncommon as it lets servers be able to run a single entranceserver that points to a separate instance that only runs channelservers in order to run client testing more efficiently or run different database instances/channelserver code.

@sekaiwish sekaiwish added the enhancement New feature or request label Aug 31, 2022
@sekaiwish
Copy link
Member

This was partially handled in #40 with the option to outright disable all ChannelServers.

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

No branches or pull requests

3 participants