[ 
https://issues.apache.org/jira/browse/TINKERPOP-2786?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bill Poole updated TINKERPOP-2786:
----------------------------------
    Description: 
When working with larger result sets, it is beneficial for memory management to 
process each chunk of data as it is returned from the gremlin server. This is 
possible with the Javascript client library as stated 
[here|#_processing_results_as_they_are_returned_from_the_gremlin_server]].

This should also be possible with the .NET client.

Ideally, it would be possible for a traversal to return an async enumerator 
(IAsyncEnumerable<T>). Perhaps add a PromiseStream method to supplement the 
Promise method?

  was:
When working with larger result sets, it is beneficial for memory management to 
process each chunk of data as it is returned from the gremlin server. This is 
possible with the Javascript client library as stated 
[here|[https://tinkerpop.apache.org/docs/current/reference/#_processing_results_as_they_are_returned_from_the_gremlin_server]|https://tinkerpop.apache.org/docs/current/reference/#_processing_results_as_they_are_returned_from_the_gremlin_server].].

This should also be possible with the .NET client.

Ideally, it would be possible for a traversal to return an async enumerator 
(IAsyncEnumerable<T>). Perhaps add a PromiseStream method to supplement the 
Promise method?


> Allow large result sets to be streamed to the client
> ----------------------------------------------------
>
>                 Key: TINKERPOP-2786
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2786
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: dotnet
>    Affects Versions: 3.6.1
>            Reporter: Bill Poole
>            Priority: Major
>
> When working with larger result sets, it is beneficial for memory management 
> to process each chunk of data as it is returned from the gremlin server. This 
> is possible with the Javascript client library as stated 
> [here|#_processing_results_as_they_are_returned_from_the_gremlin_server]].
> This should also be possible with the .NET client.
> Ideally, it would be possible for a traversal to return an async enumerator 
> (IAsyncEnumerable<T>). Perhaps add a PromiseStream method to supplement the 
> Promise method?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to