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

Best practice 2 Evaluate dataloader #195

Open
barbara79 opened this issue Sep 30, 2020 · 0 comments
Open

Best practice 2 Evaluate dataloader #195

barbara79 opened this issue Sep 30, 2020 · 0 comments

Comments

@barbara79
Copy link
Contributor

barbara79 commented Sep 30, 2020

Lets suppose the following use case, the user makes a request to product with id=1, 5 times in 50ms, and that the request takes 100ms. in this case we end-up with 5 requests to the same resource which add useless load on CTP.

In order to solve this problem, we can use dataloader which would allow us to use only 1 platform request to resolve all the pending calls.

linked to #192

@acbeni acbeni changed the title Best practice 2 Evaluate dataloader and apollo Best practice 2 Evaluate dataloader Sep 30, 2020
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

1 participant