Sorry for late replies. Checked with Dgraph folks over their slack channel and they say that since internally it uses gRPC for connection interface, pooling of connection objects is not required since gRPC manages connections very well and doesn’t need pooling.
I havent tested out how much bulk request java client can take as if for now. But I do see some problems.
1.) We had 3 server node cluster with 1 node for zero and one for ratel. We configured just 1 server in our java application. Connection worked fine but when we shut down the configured server, java client looses the interaction with the cluster. Ideally, java client should have been part of cluster or somehow, connected server should have told java client, these 2 other servers are also part of the cluster and let java client share the request load among all.
Any clues?
@shanghai-Jerry, @BlankRain