Skip to content

Auto batching #1070

Answered by ben-manes
treetime asked this question in Q&A
Jul 13, 2023 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

You can look at the contributed coalescing bulkloader. I believe this returns the singular futures, queues the requests, batches loads them, and completes the pending futures. This type of functionality is nice but a little out of scope for this library, similar to retry and fallbacks being served by combining with Failsafe. Unfortunately I don’t know of a generic coalescing library, but that would compose nicely with our cache loader.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@treetime
Comment options

@ben-manes
Comment options

@ben-manes
Comment options

Answer selected by ben-manes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants