Skip to content
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

Universal Query Routing #364

Merged
merged 271 commits into from
Dec 5, 2021
Merged

Universal Query Routing #364

merged 271 commits into from
Dec 5, 2021

Conversation

cedricmendelin
Copy link
Contributor

@cedricmendelin cedricmendelin commented Oct 25, 2021

This PR introduces new Universal Query Routing in Polypheny-DB.

Universal Query Routing enables multiple possible routers. For a given query, multiple Query Plans will be proposed (and cached).

There have been major changes in the routing classes (especially AbstractRouter).
There is a new BaseRouter class, providing base methods used for routing.

Further, DML queries and DQL queries are handled separately (new DmlRouter interface).

Finally, there was a major concept change in the AbstractQueryProcessor.

[email protected] and others added 30 commits April 5, 2021 08:42
- Add new generic Features for Monitoring (Ui and Types).
- Implement MapDb Monitoring Backend.
- use Transaction for holding MonitoringJob
- add subscriber model to MonitoringService
- remove subscriber concept
- queue events
approximatedCosts,
preCosts,
postCosts,
icarusCosts,
Copy link
Member

Choose a reason for hiding this comment

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

What is the difference between postCosts and icarusCosts?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The naming in the class is a little bit a mess, I guess the term icarus should be removed completely.
But in general, postCosts are probabilities and icarusCosts are absolute measured times.

Copy link
Member

@vogti vogti left a comment

Choose a reason for hiding this comment

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

Thanks, @cedricmendelin and @hennlo, for this PR!

@vogti vogti merged commit 4efa315 into master Dec 5, 2021
@vogti vogti deleted the universal-routing branch December 5, 2021 20:45
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.

5 participants