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

bug(query-performance): mongoose skip is inefficient #197

Open
rutajdash opened this issue Jul 31, 2023 · 0 comments
Open

bug(query-performance): mongoose skip is inefficient #197

rutajdash opened this issue Jul 31, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@rutajdash
Copy link
Member

Describe the bug
The use of mongoose skip operation is extremely inefficient and can overload the server on scaling as it requires the server to load all the skipped documents first.

Additional context
More information can be found here on stackoverflow.

@rutajdash rutajdash added the bug Something isn't working label Jul 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: To do
Development

No branches or pull requests

1 participant