[
https://issues.apache.org/jira/browse/TINKERPOP-2766?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stephen Mallette updated TINKERPOP-2766:
----------------------------------------
Component/s: driver
Affects Version/s: 3.5.4
> Poor load-balancing with java driver
> ------------------------------------
>
> Key: TINKERPOP-2766
> URL: https://issues.apache.org/jira/browse/TINKERPOP-2766
> Project: TinkerPop
> Issue Type: Improvement
> Components: driver
> Affects Versions: 3.5.4
> Reporter: Boxuan Li
> Priority: Major
>
> As reported
> [here|[https://lists.lfaidata.foundation/g/janusgraph-users/message/6544],]
> load balancing is poor when using the java driver.
> Relevant code:
> [https://github.com/apache/tinkerpop/blob/5438925e6be3ec8df7e04a2fd232fda018232fe3/gremlin-driver/src/main/java/org/apache/tinkerpop/gremlin/driver/Cluster.java#L956-L963]
>
> Instead of
> {code:java}
> InetAddress.getByName(address){code}
> method, I believe we should use
> {code:java}
> InetAddress.getAllByName(address){code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)