Fastest way to download 3 million objects from a S3 bucket

前端 未结 2 1007
谎友^
谎友^ 2021-01-30 13:41

I\'ve tried using Python + boto + multiprocessing, S3cmd and J3tset but struggling with all of them.

Any suggestions, perhaps a ready-made script you\'ve been using or a

2条回答
  •  粉色の甜心
    2021-01-30 14:48

    Use eventlet to give you I/O parallelism, write a simple function to download one object using urllib, then use a GreenPile to map that to a list of input urls -- a pile with 50 to 100 greenlets should do...

提交回复
热议问题