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

Determine how job output will be returned #2

Open
manning-ncsa opened this issue Mar 10, 2023 · 0 comments
Open

Determine how job output will be returned #2

manning-ncsa opened this issue Mar 10, 2023 · 0 comments

Comments

@manning-ncsa
Copy link
Collaborator

If the jobs will output files, they can be be served upon job completion following the pattern in https://gitlab.com/spt3g/kubernetes/-/tree/main/src/spt-api-server/, where a dedicated, lightweight fileserver is deployed to serve job output files, where the URL for download is based on the job UUID. This could be utilized by the frontend web app via an AJAX request that fetches and renders the output files in the browser, and/or directly as a simple download link the user opens manually when the job completes.

If the jobs will output a small enough amount of textual data, then perhaps job output could be stored as a JSON blob in a dedicated database table associated with the job table (where the foreign key is the job UUID).

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