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

Speed up response #543

Open
robredpath opened this issue Jan 12, 2024 · 0 comments
Open

Speed up response #543

robredpath opened this issue Jan 12, 2024 · 0 comments

Comments

@robredpath
Copy link

robredpath commented Jan 12, 2024

As a developer of an application that uses the Validator API,
I want to get responses quickly
so that I can provide information to my users in a timely fashion .

In IATI/ckanext-iati#417 we're discussing using the Validator API to power a summary view of publishers.

In my testing this afternoon, the API seems to take 300-400ms to return results for a single file; this seems to be regardless of response size as both a 2kB and 40kB response took the same amount of time. This is fine for a single response, but in the use case we have in mind, it might be necessary to make tens or even hundreds of requests. Obviously these can be cached by the consuming application but even with moderate churn, this could be quite slow.

Alternatively, of course, we could look at offering bulk querying.

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