Re:Downloading files from S3 with multithreading and Boto3
by nicornk on Sunday April 11, 2021 @03:34AM
(#26768296)
Really interesting going through your code, thanks for sharing.
Why did you opt for running the parallelization code in a separate python process (s3op)?
You might want to update section ‚Caution: Overwriting data in S3‘ in the docs since S3 offers strong read after write consistency since dec 2020.
https://aws.amazon.com/blogs/aws/amazon-s3-update-strong-rea...
Re:Downloading files from S3 with multithreading and Boto3
by vtuulos on Sunday April 11, 2021 @02:09PM
(#26772212)
re: separate process - fault-tolerance is a key requirement. There are a myriad of ways how a highly parallelized, network- and data-intensive code can fail, so isolating it in a separate process is a safer approach than trying to try-except everything and hope it works.
Good catch re: the warning about consistency! The docs were written before the change :)
Re:Downloading files from S3 with multithreading and Boto3
by brian_herman on Sunday April 11, 2021 @08:55AM
(#26770012)
Can you do a blogpost please!
Technically it is independent from Metaflow, so you could use it as a stand-alone, high-performance S3 client.
See docs here https://docs.metaflow.org/metaflow/data#store-and-load-objec...
And code here https://github.com/Netflix/metaflow/tree/master/metaflow/dat...
(I wrote it originally - AMA if curious)