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

Refactor volumes for Flask & Celery #156

Open
uniqueg opened this issue May 6, 2020 · 0 comments
Open

Refactor volumes for Flask & Celery #156

uniqueg opened this issue May 6, 2020 · 0 comments
Labels
priority: medium Medium priority type: delivery Related to packaging, deployment etc. type: maintenance Related to general repository maintenance workload: days Likely takes days to resolve

Comments

@uniqueg
Copy link
Member

uniqueg commented May 6, 2020

Problem

Both the Flask app and Celery containers write to the same shared data volume. This unnecessary dependency should be avoided if possible, not least because it complicates deployment.

At the moment, the Flask app sets up a directory for each run, downloads a repo containing the workflow. Celery then reads the workflow and executes it via cwl-tes and and writes temporary files out (a side effect of cwl-tes / cwltool; see #157).

Describe the solution you'd like

Enumerate and describe the read/write operations of each service and assess whether they are (a) require a shared volume and (b) necessary at all. Depending on the assessment, if possible, refactor such that the Flask app does not require any data volume at all (preferred) or that it uses a different data volume than Celery.

Describe alternatives you've considered

N/A

Additional context

@uniqueg uniqueg added priority: medium Medium priority type: delivery Related to packaging, deployment etc. type: maintenance Related to general repository maintenance workload: days Likely takes days to resolve labels May 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: medium Medium priority type: delivery Related to packaging, deployment etc. type: maintenance Related to general repository maintenance workload: days Likely takes days to resolve
Projects
None yet
Development

No branches or pull requests

1 participant