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

Batching Limit application for ids within a query? #8281

Open
PlayAnyData opened this issue Jan 16, 2025 · 0 comments
Open

Batching Limit application for ids within a query? #8281

PlayAnyData opened this issue Jan 16, 2025 · 0 comments
Assignees

Comments

@PlayAnyData
Copy link
Contributor

Hey,

I have read through the documentation and for me, it is not clear what exactly "batchingLimit" applies to. I am searching for a way to limit the number of entries pushed down to a server. Our problem is, that sometimes thousands of ids are batched into one request and thus the subgraphs are overwhelmed by this. Additionally, if it was distributed into different calls via a limit, we could load balance it. Setting a batchingLimit of 1 though does not seem to do this. My concern is, that this is used to push down different queries at once and has nothing to do with the amount of objects I am loading from subgraphs.

Is there such a feature, which is capable of limiting the amount of items fetched in one request? If no, which other ways could there be to achieve this?

We are using programmatic additional resolvers with argsFromKeys.

Best regards and thank you for your response.

@ardatan ardatan self-assigned this Jan 16, 2025
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

No branches or pull requests

2 participants