-
Notifications
You must be signed in to change notification settings - Fork 0
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
Optimize Label Filtering #239
Comments
@jue-henry thanks for continuing to push on this! What do you mean by "label validation" exactly? Are you talking about image queries that include some kind of validation state check, or are you talking about actual label validation mutations (e.g. when a user validates a label)? My recommendation would be start with option 1. I think a fresh set of eyes would be super welcome here, and if we can make any of the label validation more efficient I'm all for it. Number 2 is interesting, but I'd also add the concern that that could consume a huge amount of memory if we're needing to load potentially millions of image records in memory and then filter them. |
Related: #119 |
@nathanielrindlaub Sorry will clarify in the issue itself as well, but I mean label filtering/searching via the labels |
Currently, we are still seeing query timeouts on mongodb , and the requests seem to be exclusively involve some form of label filtering. I am proposing 2 options:
The text was updated successfully, but these errors were encountered: