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

Make Echo API validation asynchronous #15

Open
wrygiel opened this issue Jan 24, 2018 · 0 comments
Open

Make Echo API validation asynchronous #15

wrygiel opened this issue Jan 24, 2018 · 0 comments

Comments

@wrygiel
Copy link
Contributor

wrygiel commented Jan 24, 2018

Currently, when a user requests an Echo API validation on the Developers Page, the page is making a single request X to an Echo API validator endpoint of the DEV Registry Service. This endpoint then performs all the tests synchronously, while keeping the connection X open. Only after all tests are ready it responds to request X.

This works okay if the number of tests is limited. However, as the number of Echo API Validation tests grows, so does the risk of getting timeouts for request X. And the number grows quite fast, due to the nature of how they're generated (trying out all possible combinations of different security methods).

It might be a good idea to perform these tests asynchronously - request X would start the tests (and respond immediately), while the result would be fetched later on by making another separate request.

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