kylemacfarlane/django-cuddlybuddly-storage-s3 — Issue #2: huge decrease in response time
Author: bluecamel
Created: 2011-12-11 05:27:19+00:00
State: open

I'm sorry for the less than detailed report, but all that I know for sure is that adding cuddlybuddly.storage to INSTALLED_APPS of a fresh django startproject slows responses down a great deal. I haven't created any models and the view I'm using to test simply renders a very simple template.

From your docs, it sounds like a great project, and I'm guessing that I've perhaps done something wrong.

Basically, I've done this:
1) put cuddlybuddly module in the python path
2) added 'cuddlybuddly.storage' to INSTALLED_APPS
3) added AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, DEFAULT_FILE_STORAGE, AWS_STORAGE_BUCKET_NAME to django settings

At this point, hitting the simple view takes close to 30 seconds. Commenting out the line in INSTALLED_APPS brings it back to normal speed.

Does that possibly point to something that I've missed in the configuration?

Thanks for any advice!