2

I am using Django-Storages for file upload to Amazon S3 but the upload speed is very slow.

Is there any way I can get nice upload speed ?

I am using

Django == 1.4

Django-storages == 1.1.8

boto == 2.6.0

Django settings:

DEFAULT_FILE_STORAGE = 'storages.backends.s3boto.S3BotoStorage'

AWS_ACCESS_KEY_ID = 'XXXXXXXXX'

AWS_SECRET_ACCESS_KEY = 'XXXXXXX'

AWS_STORAGE_BUCKET_NAME = 'XXXdev'

AWS_QUERYSTRING_AUTH = False

TylerH
  • 20,799
  • 66
  • 75
  • 101
user1839132
  • 121
  • 2
  • 10

1 Answers1

0

I don't think django is influencing a lot in here. you can upload or download directly from S3 via the browser and see it is also not so fast. If you upload from EC2 to S3, the fastest way is if the EC2 & S3 are on the same region. Also, The fastest way is when your using the closest region from you. (PC ==> EC2 ==> S3).

I read once this article, was a nice one: http://www.takipiblog.com/2013/03/20/aws-olypmics-speed-testing-amazon-ec2-s3-across-regions/

Amit Talmor
  • 7,174
  • 4
  • 25
  • 29