Adrian Gonzalez created TINKERPOP3-734:
------------------------------------------

             Summary: 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


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)

Reply via email to