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

Paginate get_entity_graph response as it's very slow #231

Open
clbarnes opened this issue Dec 21, 2022 · 1 comment
Open

Paginate get_entity_graph response as it's very slow #231

clbarnes opened this issue Dec 21, 2022 · 1 comment

Comments

@clbarnes
Copy link
Collaborator

The request takes a parameter range_start and another range_length. The response object contains a totalRecords integer.

We should make 1 request of a small number of entities (1000 or so), read the number of total records, and then parallelise getting all the rest.

@clbarnes clbarnes changed the title Paginate annotation_graph response as it's very slow Paginate get_entity_graph response as it's very slow Apr 27, 2023
@clbarnes
Copy link
Collaborator Author

I had a go at this but it seemed to drop some rows between pages.

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

1 participant