-
Notifications
You must be signed in to change notification settings - Fork 816
Proposal for distributed query execution #6789
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
base: master
Are you sure you want to change the base?
Proposal for distributed query execution #6789
Conversation
Signed-off-by: 🌲 Harry 🌊 John 🏔 <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the great work. I like this proposal.
This looks great! I cannot wait to see it working! :D:D:D |
Signed-off-by: 🌲 Harry 🌊 John 🏔 <[email protected]>
ea50781
to
37692c4
Compare
|
||
``` | ||
service QueryServer { | ||
rpc Series(SeriesRequest) returns (stream OneSeries); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should stream a batch of series, not just one?
|
||
#### Co-ordinated Execution | ||
|
||
The querier assigned the **root fragment** also plays the role of **coordinator**. The co-ordinator will |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The root querier will call Series
and Next
to the child querier. Those requests will also specify the logical plan ID or some sort of request ID so the child querier finds out the actual plan?
``` | ||
service QueryServer { | ||
rpc Series(SeriesRequest) returns (stream OneSeries); | ||
rpc Next(NextRequest) returns (stream StepVectorBatch); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we need some marker a mark finish for both series and next. Do we just use EOF?
What this PR does:
Submits a proposal for distributed query execution in Cortex using Thanos PromQL engine.
Which issue(s) this PR fixes:
Fixes #
Checklist
CHANGELOG.md
updated - the order of entries should be[CHANGE]
,[FEATURE]
,[ENHANCEMENT]
,[BUGFIX]