how to upload django files as background? Or how to increased file upload?

Viewed 131

I need to increased file upload speed in Django. Any ways to do this? I guess about to upload files as a background, when user send POST request i just redirect them to some page and start uploading files. Any ways to do this? Or do you know any ways to increased upload speed? Thank you in advance

1 Answers

Low upload speed could be a result of several issues.

  1. It is a normal situation and your client doesn't have a possibility to upload at a higher speed.
  2. Your server instance using an old HDD and can't write quickly.
  3. Your server works on another pool of requests and serves your clients as fast as it could but it is overloaded.
  4. Your instance doesn't have free space on the hard drive
  5. Your server redirects the file as a stream somewhere else.
  6. You've written a not optimized code of the upload handler. etc.
  7. You don't use a proxy-server that works perfectly with slow clients and when a file is on the proxy server's side give it to Django in a moment.
  8. You are trying to upload a very big file.

etc.

Maybe you have more details on how you handle the uploads and your environment.

Related