You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Did you search for an existing issue or pull request?
Description
Having written my own indexer before, I must say that SubQuery is very aggressive with endpoints. I'm using free tiers of 6 different RPC providers which are quite generous in both monthly quota and RPS. But I still hardly see anything expect for rate limit errors in the SubQuery logs. I have also received emails from multiple providers saying that most of my requests were rate limited and I should do something about it. And I only ran this app once for a few minutes. (It is an Ethereum app that uses only event handlers.)
I would very much appreciate if SubQuery respected rate limits. I would propose a three step solution you could gradually implement, starting from the simplest one:
Add an option to configure rate limit globally across endpoints.
Prerequisites
Description
Having written my own indexer before, I must say that SubQuery is very aggressive with endpoints. I'm using free tiers of 6 different RPC providers which are quite generous in both monthly quota and RPS. But I still hardly see anything expect for rate limit errors in the SubQuery logs. I have also received emails from multiple providers saying that most of my requests were rate limited and I should do something about it. And I only ran this app once for a few minutes. (It is an Ethereum app that uses only event handlers.)
I would very much appreciate if SubQuery respected rate limits. I would propose a three step solution you could gradually implement, starting from the simplest one:
Details
These details can help to reproduce the environment the issue is occurring
Local Environment:
@subql/cli/4.2.5 darwin-arm64 node-v18.18.2
Query Version:
@subql/[email protected]
Indexer Version:
@subql/[email protected]
Network Details:
Steps to Reproduce
Expected behavior: There should be almost no rate limit errors in the logs. SubQuery should know about these limits and respect them.
Actual behavior: Logs are full of rate limit errors. There is barely anything else in there.
The text was updated successfully, but these errors were encountered: