snakemake / snakeface

The snakemake interface, currently works like a notebook (under development)
https://snakeface.readthedocs.io/
Mozilla Public License 2.0
17 stars 6 forks source link

Method for running async (notebook tasks) #2

Closed vsoch closed 3 years ago

vsoch commented 3 years ago

I'm testing https://django-q.readthedocs.io/en/latest/install.html and want to leave the link here for myself - right now I have a basic setup with a small "cluster" and i'm going to try and have the flow be:

This will of course need to have a callback that can somehow update the table. Likely I'll do refreshing the page first, but later can try Django Channels to (maybe) use sockets.

vsoch commented 3 years ago

Channels docs if/when I need it https://channels.readthedocs.io/en/stable/topics/consumers.html

vsoch commented 3 years ago

Update - we have a thread runner, and now just need to use some kind of strategy to dynamically update the run interface.

vsoch commented 3 years ago

Okay, the run interface is being updated with Django Channels. For a single notebook, in memory is fine. If we scale to a production thing (for other deployments) we need to add a docker compose file with redis.