开发者

How would you write files to s3 in parallel? i.e. not serialized one by one

I have 10K files t开发者_开发知识库o write to S3 every hour, how can I do this in parallel?


Use multiple threads or try EventMachine with a S3 driver. You need to a throughput of about 3 files per second which depending on the file size shouldn't be that hard. Make sure to use HTTP keep-alive to not reconnect in between each file.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜