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

Rethink how we handle long-running ara calls #107

Open
maximusunc opened this issue Nov 18, 2020 · 1 comment
Open

Rethink how we handle long-running ara calls #107

maximusunc opened this issue Nov 18, 2020 · 1 comment

Comments

@maximusunc
Copy link
Collaborator

maximusunc commented Nov 18, 2020

9/13/21: When asking questions, we're holding open HTTP connections. We probably shouldn't do it this way. A few potential solutions are:

  • Implement some sort of extra message queue service that will keep track of running questions are report back to the UI when we get answers back.
  • Use the async endpoint of any ARAs we interact with. @patrickkwang is this endpoint going to be standard across all ARAs?
@maximusunc maximusunc changed the title Add pending field to questions for long-running ara calls Rethink how we handle long-running ara calls Sep 13, 2021
@patrickkwang
Copy link
Contributor

Yes, the /asyncquery endpoint is standard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants