-
Notifications
You must be signed in to change notification settings - Fork 63
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
Sample production configuration for Java grpc client #111
Comments
You can create as many stubs as there are Alpha nodes running -
|
I also raised a PR to update README #114 |
In your example mentioned above is 3 instances of Alpha running and listening on ports (9080, 9082, 9083)? |
Correct, and all of them running locally (localhost). You will have to use the correct IP for each instance. |
How about for a single Alpha instance. Is there a way to have multiple connections to it? |
For that, you can potentially pass multiple stubs to same Alpha node, though, I think that's not really very useful. |
ok. Thanks @mangalaman93 for your suggestions. |
The below link talks about a single connection.
https://github.com/dgraph-io/dgraph4j#creating-a-client
Could you please elaborate what a typical production configuration would look like?
How do I create more than 1 connection, pool configuration?
The text was updated successfully, but these errors were encountered: