You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to set up a swarm cluster on the backend but am having a couple of issues. Reading the code, in Pipe.js it says that a pipe is a channel to a remote swarm host. This works great when the connection is from client -> server, but not so much when doing server -> server. I am able to connect servers to each other but there does not appear to be any replication going on between different instances.
My issue is that we need more then one machine on the back end and since users that share models could be connected to different physical hosts we need a way to ensure that each server stays up to date and that data is replicated correctly.
Is there a way to accomplish this today?
The text was updated successfully, but these errors were encountered:
Hi! That part of the code is lagging behind and I don't expect it to work as of now. Ironically, a consistent hashing server cluster was our first demo back in 2013.
The most of the code is still in place, e.g. https://github.com/gritzko/swarm/blob/master/lib/Syncable.js#L797
Consistent hashing logic is the same on client and server, as the client may connect to several servers at once or choose what server to connect to.
I am elbow-deep in v0.4 at the moment, may be @abalandin will find some time to revitalize that code.
Hi!
I'm trying to set up a swarm cluster on the backend but am having a couple of issues. Reading the code, in Pipe.js it says that a pipe is a channel to a remote swarm host. This works great when the connection is from client -> server, but not so much when doing server -> server. I am able to connect servers to each other but there does not appear to be any replication going on between different instances.
My issue is that we need more then one machine on the back end and since users that share models could be connected to different physical hosts we need a way to ensure that each server stays up to date and that data is replicated correctly.
Is there a way to accomplish this today?
The text was updated successfully, but these errors were encountered: