Skip to content

fix(query-orchestrator): QueryQueue - improve performance for high co… #9705

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ovr
Copy link
Member

@ovr ovr commented Jun 24, 2025

depends on #9706

@ovr ovr requested a review from a team as a code owner June 24, 2025 12:09
@ovr ovr force-pushed the fix/queue-high-concurrency-rps branch from 02f41db to fa01292 Compare June 25, 2025 14:26
ovr added a commit that referenced this pull request Jun 25, 2025
…r pending/active (#9706)

I did a refactor for the `LocalQueue` driver. Previously, while the `LocalQueue` driver processed the queue item, it stored it in the pending and active states. Both states at the same time. This approach is not aligned with any queue servers. 

Cube Store has a strict obligation that a queue item can be in only one state at a time. Let's align it to simplify upcoming changes in #9705.
…ncurrency setups

# Conflicts:
#	packages/cubejs-query-orchestrator/src/orchestrator/QueryQueue.js
@ovr ovr force-pushed the fix/queue-high-concurrency-rps branch from fa01292 to 2caaec9 Compare June 25, 2025 15:20
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.

1 participant