Skip to content

Compute facets by streaming shard results - #5514

Merged
coszio merged 1 commit into
devfrom
compute-facets-stream-shards
Nov 25, 2024
Merged

coszio merged 1 commit into
devfrom
compute-facets-stream-shards

Conversation

@agourlay

@agourlay agourlay commented Nov 25, 2024 •

Copy link
Copy Markdown
Member

Similar to #5505 but for facets.

Do not wait for all shards to start aggregating results as soon as available.

  • Do not wait idle for slow shards.
  • Use less memory by avoiding to hold all responses in memory at once.

@agourlay agourlay changed the title Compute facets by streaming shard resuls Compute facets by streaming shard results Nov 25, 2024
@coszio
coszio self-requested a review November 25, 2024 18:37
@agourlay
agourlay marked this pull request as ready for review November 25, 2024 18:40

@coszio coszio left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This actually makes a lot of sense 👌

@coszio
coszio merged commit 62643f5 into dev Nov 25, 2024
@coszio
coszio deleted the compute-facets-stream-shards branch November 25, 2024 22:40
@timvisee timvisee mentioned this pull request Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants