[
https://issues.apache.org/jira/browse/TINKERPOP3-734?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14608930#comment-14608930
]
stephen mallette commented on TINKERPOP3-734:
---------------------------------------------
cool - i like "perfect". :D i think we saw a light improvement in performance
for the change. the code is much simpler now however, which is a good plus in
my book. thanks for pointing this out in the first place.
> Driver uses polling tying up threads
> ------------------------------------
>
> Key: TINKERPOP3-734
> URL: https://issues.apache.org/jira/browse/TINKERPOP3-734
> Project: TinkerPop 3
> Issue Type: Improvement
> Components: driver
> Reporter: Adrian Gonzalez
> Assignee: stephen mallette
> Fix For: 3.0.0.GA
>
>
> The driver uses polling to return ResultSet.one() and for the
> CompletableFuture in ResultSet.all().
> Ideally polling should not be necessary when using Netty and
> CompletableFutures. This causes problems when trying to use it with a
> framework like [vert.x|http://vertx.io/].
> Could you consider an approach more similar to the Cassandra driver from
> datastax?
> https://github.com/datastax/java-driver
> See
> [Session.executeAsync()|https://github.com/datastax/java-driver/blob/2.1/driver-core/src/main/java/com/datastax/driver/core/Session.java#L166]
> which is equivalent to gremlin-driver Client.submitAsync().
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)