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

Support for connecting to a graph cluster with multiple gremlin-servers #92

Open
masumsoft opened this issue Nov 3, 2017 · 1 comment

Comments

@masumsoft
Copy link

Currently the createClient api has a host parameter that seems to support only a single host at this moment. I couldn't find any way for the module to connect to multiple gremlin server hosts preferably with automatic node discovery and failover similar to other distributed system clients.

The go client for gremlin for example has cluster support. It would be great if this module had built in support for cluster load balancing, node discovery and failover.

@jbmusso
Copy link
Owner

jbmusso commented Nov 9, 2017

I think we could add basic support for this, with a simple connection pool. This is something I've had on my mind for a while.

However, some distributed databases support complex client-side load balancing, ie. Cassandra (JanusGraph). The clients play a very important role and need to be aware of the cluster state (up/down nodes, latency, cluster topology, etc.). I don't think Gremlin server can stream that yet, and this is most likely outside of its scope anyway.

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

2 participants