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

/api/annotation/search.json interface is too slow #1205

Open
luo-guoping opened this issue Aug 4, 2021 · 2 comments
Open

/api/annotation/search.json interface is too slow #1205

luo-guoping opened this issue Aug 4, 2021 · 2 comments

Comments

@luo-guoping
Copy link

Hello, I would like to ask about the "/api/annotation/search.$format" interface. The execution of this interface is too slow. Is there a better solution for the SQL in the interface? Or have any better suggestions.

@luo-guoping
Copy link
Author

After testing, SQL is actually OK, but the interface still wants to be optimized, the response speed is still a bit slow, want to improve, is there any solution?

@geektortoise
Copy link
Member

Hello,
As annotations concerns multiple tables and we can use multiple filters, Cytomine generate complex queries.
Did you try to paginate your requests (with max and offset) ?

What are your queries ?

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

No branches or pull requests

2 participants