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

Try to retrieve schema from all schemas cache if not found in individual cache #2912

Merged

Conversation

steven-supersolid
Copy link
Contributor

I noticed REST create and query always perform a query on all schemas followed by an unnecessary single schema query before the data query/update. This optimisation will prevent that happening so will reduce database queries by around 1/3.

@flovilmart
Copy link
Contributor

Looking great, thanks!

@flovilmart flovilmart merged commit 151bea2 into parse-community:master Oct 23, 2016
steven-supersolid added a commit to supersolid/parse-server that referenced this pull request Oct 24, 2016
@steven-supersolid steven-supersolid deleted the steven.cache.optimisation branch October 27, 2016 09:15
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

Successfully merging this pull request may close these issues.

None yet

3 participants