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

ReQL count() makes list endoints really slow #2

Open
esatterwhite opened this issue May 18, 2016 · 1 comment
Open

ReQL count() makes list endoints really slow #2

esatterwhite opened this issue May 18, 2016 · 1 comment

Comments

@esatterwhite
Copy link
Member

get_list runs a count query after the filters are applied to make client side paging easier. Unfortunately the count query in rethink is still really slow. Maybe there should be an option to exclude the count from the meta data in the response. If people don't want to use the count data, they don't have to suffer through the performance penalty.

@esatterwhite
Copy link
Member Author

We could also run the two queries in parallel. They are currently run serially

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