We have a use case for copying terabytes of content to buckets with different owners and it just seems wasteful to run everything through a client.
We have a use case for copying terabytes of content to buckets with different owners and it just seems wasteful to run everything through a client.
I wrote many tests for it... so many tests...
edit: just tried it, definitely seems to be working. not sure what I was seeing earlier, thanks!
At scale, the performance cost is worth it given the number of checks done internally to ensure the copy is perfect. If you download and upload, then you could make it faster however getting all the details right such that corruption didn't happen is tricky.
https://docs.aws.amazon.com/AmazonS3/latest/userguide/batch-...
I've read over it and I'm reasonably sure that it's going to issue CopyObject, but it would take me actually getting out paper and pen to really track it down.
The AWS CLI and Boto are a case study in overdoing class hierarchies. Not because there's any obvious AbstractSingletonProxyFactoryBean, but rather that there's no instance that stands out as "this is where they went wrong" and nevertheless the end result is a confusing mess of inheritance and objects.
[1]: https://github.com/aws/aws-cli/blob/45b0063b2d0b245b17a57fd9...