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

fix(budget): target average indexer fees per query #390

Merged
merged 2 commits into from
Sep 5, 2023
Merged

Conversation

Theodus
Copy link
Member

@Theodus Theodus commented Sep 5, 2023

  • target an average value for indexer fees per query
  • change the volume discounting curve to one that's easier to modify
  • feedback budgeting performance to boost indexer fees when we're spending below the target
  • make the Budgeter an actor to minimize contention between client query handlers using the same deployment, at the cost of some feedback delay

@Theodus Theodus marked this pull request as ready for review September 5, 2023 12:49
@Theodus Theodus requested a review from LNSD September 5, 2023 12:50
@LNSD
Copy link
Contributor

LNSD commented Sep 5, 2023

The integration test failure is unrelated. I have re-run it to see if it was a transient issue with the testnet indexer.

EDIT: Confirmed. It was a transient error. LGTM ✅

@Theodus Theodus merged commit fa2b38a into main Sep 5, 2023
2 checks passed
@Theodus Theodus deleted the theodus/budgets2 branch September 5, 2023 14:40
@Theodus Theodus mentioned this pull request Oct 8, 2023
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