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

Performance optimizations using Mongo Aggregation #562

Open
BigRoy opened this issue Sep 21, 2020 · 0 comments
Open

Performance optimizations using Mongo Aggregation #562

BigRoy opened this issue Sep 21, 2020 · 0 comments

Comments

@BigRoy
Copy link
Collaborator

BigRoy commented Sep 21, 2020

Issue

After #555 is merged we have access to the pymongo aggregation pipeline in avalon.io.

I'm opening this issue to remind ourselves of potentially other areas of performance improvements, for example. the recursive query for io.parenthood could be done as a single aggregation query - which is frequently used in calls that are often repeatedly done like updating loaded containers.

It's also likely that other areas that have been mentioned to be slow, e.g. #551 / #561 can see even further improvements than those PRs using aggregation. Or even new features greatly benefit from it, e.g. the recursive Input/Output relationships in #395. Similarly it could be of interest for hierarchical data queries like discussed in #410.

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

2 participants