I have a somewhat complex problem or at least it appears like this. In my project I'm dealing with really big image files uploaded by users. Storage is provided by separate media server which also generates thumbnails. Thumbnails are not created immediately, so there will be a cron function to check if they're ready. There are also files sent from managing section that won't be resized.
1. So the first problem is how to store media on remote server ? What should be rewrited ? Do I only need to write custom Storage or also custom UploadHandler ? Is django-queued-storage of any use here?
2. How and when differentiate between media sent to resizing and not ?
3. How to deal with the delay of receiving links to media ? I've thought about naming the file sent with some long ID (and also keeping it in some field in my database) and then in my crone do a query to remote server's database checking if the file with this ID was already processed.
I'm a bit short in time so any ideas will be helpful.