[
https://issues.apache.org/jira/browse/TINKERPOP-671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
stephen mallette closed TINKERPOP-671.
--------------------------------------
Resolution: Won't Do
I don't think that this makes sense anymore. bytecode changes all this.
> Support Batching in Gremlin Driver
> ----------------------------------
>
> Key: TINKERPOP-671
> URL: https://issues.apache.org/jira/browse/TINKERPOP-671
> Project: TinkerPop
> Issue Type: Improvement
> Components: driver
> Affects Versions: 3.0.2-incubating
> Reporter: stephen mallette
> Priority: Major
>
> When the {{Client}} borrows a {{Connection}} from the {{ConnectionPool}} and
> the {{submitAsync}} method is ultimately called, the request is written to
> the connection and the {{Connection}} is returned to the pool at a later
> point when the stream completes. It should be possible to batch multiple
> requests together such that they might be all sent at once, thus making
> better use of the {{Connection}} while it is in hand.
> Perhaps there is some variation of the {{submit}} method like:
> {code}
> List<CompletableFuture<ResultSet>> submitAsync(final RequestMessage... msg)
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)