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

Pagination might be slow #23

Open
ipazc opened this issue Nov 30, 2017 · 0 comments
Open

Pagination might be slow #23

ipazc opened this issue Nov 30, 2017 · 0 comments
Assignees

Comments

@ipazc
Copy link
Owner

ipazc commented Nov 30, 2017

The pagination for elements in Mongo might be slow when using skip().
An interesting way of solving this problem is referenced here.

Perhaps letting the user sending the last element's id from the page rather than the page number (in order to get the next one) would help in speeding up the results.

@ipazc ipazc self-assigned this Nov 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant