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

Implement query energy estimation #1231

Closed
joshua-spacetime opened this issue May 14, 2024 · 0 comments · Fixed by #1293
Closed

Implement query energy estimation #1231

joshua-spacetime opened this issue May 14, 2024 · 0 comments · Fixed by #1293
Assignees

Comments

@joshua-spacetime
Copy link
Collaborator

Requirements:

  • Initial subscription and ad hoc queries whose estimated energy consumption exceeds limit will fail before being executed
  • The energy limit should be configurable at runtime
  • We should have separate limits for owner and non-owner identities

Non-requirements:

  • Energy estimation does not have to be absolutely accurate, but it should be relatively accurate
    • That is if energy(A) >= energy(B), then estimate(A) >= estimate(B)
@joshua-spacetime joshua-spacetime self-assigned this May 14, 2024
joshua-spacetime added a commit that referenced this issue May 23, 2024
Closes #1231.

Queries that are estimated to exceed this row limit are rejected.
And the same holds for subscriptions.
joshua-spacetime added a commit that referenced this issue May 24, 2024
Closes #1231.

Queries that are estimated to exceed this row limit are rejected.
And the same holds for subscriptions.
joshua-spacetime added a commit that referenced this issue May 30, 2024
Closes #1231.

Queries that are estimated to exceed this row limit are rejected.
And the same holds for subscriptions.
joshua-spacetime added a commit that referenced this issue May 30, 2024
Closes #1231.

Queries that are estimated to exceed this row limit are rejected.
And the same holds for subscriptions.
joshua-spacetime added a commit that referenced this issue May 30, 2024
Closes #1231.

Queries that are estimated to exceed this row limit are rejected.
And the same holds for subscriptions.
joshua-spacetime added a commit that referenced this issue May 30, 2024
Closes #1231.

Queries that are estimated to exceed this row limit are rejected.
And the same holds for subscriptions.
github-merge-queue bot pushed a commit that referenced this issue May 30, 2024
Closes #1231.

Queries that are estimated to exceed this row limit are rejected.
And the same holds for subscriptions.
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 a pull request may close this issue.

1 participant