-
Notifications
You must be signed in to change notification settings - Fork 18
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
Discussion: handled async tasks #142
Comments
I think that @dafentoulis and @gkostoulas are more experienced than me on this issue and might have a better idea/vision. Personally, I would like to avoid relying only on a solution that requires an admin to install the service. The whole point is that simple users can deploy the service with ease and use it almost out of the box. This is why I would avoid using a queueing solution if possible. This is one of the reasons why we were thinking of switching to FastAPI (see #102 ), as it is supporting background tasks. |
Touching again this. After some years of experience it seems that a queue is the way to go as @vsoch suggested. One of the things I observed happening is that http requests get lost when the workflows are rather big and the service cannot cope with them. |
Hi @vsoch, @fgypas , thanks for all the developments on the project! what is the current roadmap regarding this ? |
I can’t comment it’s not my project - I was only briefly helping out. |
Hi @weber8thomas
The problem is that I don't have much time to work on the project, but I think that the second bullet point is easy to implement and also maybe the first one. For the third one I think that we would need a bigger team, so we need to reach out to the community. I am also happy to give the project to someone like @vsoch or other members of the snakemake community to move it forward. |
Given that a snakemake workflow is launched from panoptes, how would it be best to handle waiting for it? E.g., you could add some kind of queue with redis or celery, but on the other hand, we don't want to make the tool too bulky to use. Are you planning to add another service to Docker compose for this, or some strategy to just make the user wait in the interface while it's running the job?
The text was updated successfully, but these errors were encountered: