cli icon indicating copy to clipboard operation
cli copied to clipboard

[aws batch] Progress meter for build dir upload/download

Open tsibley opened this issue 5 years ago • 3 comments

It'd be nice to add a tqdm progress meter for build dir upload/download when running nextstrain build --aws-batch. I think this is only worth it if relatively easy (which it seems like it would be). ~Might be easier after implementing #83.~

tsibley avatar Jun 17 '20 17:06 tsibley

(Three years later) this would still be incredibly useful. I'm currently uploading data for a job and have been looking at the same line for an hour now...

zipping: path/to/5/Gb/file

jameshadfield avatar Dec 14 '23 04:12 jameshadfield

Nod. Feel free to implement this!

A few questions for you about what would be most useful.

Do you want per-file progress? total workdir progress? both? There are different considerations and challenges for each.

For total workdir progress, the easiest unit is "files" (e.g. "uploaded 13/42 files") not "bytes". Is "files" useful, or is "bytes" what really matters because it better correlates with total upload time?

For per-file progress, it'll be harder to add a progress meter because writing happens in library code outside of our direct control. Should be doable, but needs some thinking.

tsibley avatar Jan 09 '24 23:01 tsibley