Skip to content

Conversation

@fabriziodemaria
Copy link
Contributor

@fabriziodemaria fabriziodemaria commented Nov 10, 2025

This PR wants to merge in #84, to improve the performance of the updateContext queue and avoid queue build-up by coalescing pending tasks and ensure last-one-wins operations.

It might be a better alternative to #85: the latter was causing coalesced tasks to return immediately instead of waiting for the latest task to complete successfully, which in turn would make setEvaluationContext return before the context is actually updated and ready.

Signed-off-by: Fabrizio Demaria <fabrizio.f.demaria@gmail.com>
Signed-off-by: Fabrizio Demaria <fabrizio.f.demaria@gmail.com>
@fabriziodemaria fabriziodemaria force-pushed the concurrency-update-context-perf-2 branch from 8eb1753 to bbe1f95 Compare November 11, 2025 12:23
@fabriziodemaria fabriziodemaria marked this pull request as ready for review November 11, 2025 12:23
Signed-off-by: Fabrizio Demaria <fabrizio.f.demaria@gmail.com>
@fabriziodemaria fabriziodemaria changed the title feat: Performance in burst of update context (second attempt) feat: Performance in bursts of context update (second attempt) Nov 11, 2025
@fabriziodemaria fabriziodemaria changed the title feat: Performance in bursts of context update (second attempt) feat: Performance in bursts of context updates (second attempt) Nov 11, 2025
@fabriziodemaria fabriziodemaria merged commit 6597465 into concurrency-update-context Nov 11, 2025
7 checks passed
fabriziodemaria added a commit that referenced this pull request Nov 12, 2025
Signed-off-by: Fabrizio Demaria <fabrizio.f.demaria@gmail.com>
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