-
Notifications
You must be signed in to change notification settings - Fork 100
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
About cluster/scalability #163
Comments
This issues is related with data saving/loading though. |
For number two, would the communication be |
it would be |
So the world instance would communicate with the client? |
the world instance would communicate with a worker yes, that worker would communicate (and handle) with minecraft clients something like that. but the most difficult part is taking the data out of the worker imho ;) (and into the world instance) |
How would things like redstone be handled? |
It could be interesting in the future to be able to scale flying-squid between several node instances (~ https://nodejs.org/api/cluster.html ) and several servers.
In order to do that we'd have to implement a good api to make the nodes have the same data.
One way would be putting all the data in prismarine-world and either:
prismarine-world-<some database>
that would just communicate with a database and not store data in memoryOption 2 and 3 are mostly the same, with a different kind of implementation.
(anyway, this is completely long term and should not really be in "priority" there https://github.com/mhsjlw/flying-squid/blob/master/TODO.md#priority )
The text was updated successfully, but these errors were encountered: