CCF icon indicating copy to clipboard operation
CCF copied to clipboard

Historical & indexing API extensions for preloading

Open letmaik opened this issue 3 years ago • 0 comments

Is your feature request related to a problem? Please describe. With paginated responses, it is common to kick off retrieval of the next page's content with the historical query API get_store_range() function or the SeqnosByKey_Bucketed indexing strategy get_write_txs_in_range() function, for example.

Describe the solution you'd like Since the result of the existing functions is always discarded by the caller if it happened to be available already, it seems there should be functions to trigger preloading only, without doing the work necessary to return the data.

Describe alternatives you've considered Keep using the original functions. I haven't done any benchmarks on what overhead could be saved. Feel free to close this request if it's not worth the effort.

letmaik avatar Mar 17 '22 18:03 letmaik