The problem of Django REST framework as a video upload interface

there is no problem with uploading small files on (iOS, Android) on mobile devices, but there are some larger files (more than 50m). After the upload progress is completed, it will take a long time for the server to return response information, and sometimes it will take too long to report TimeOut errors.

could you tell me how to optimize it?


Why send the file directly to the server, Qiniu, Qiniu and then return the file name
. Sometimes a TimeOut error will be reported if it takes too long. For this problem, you can adjust the configuration of nginx
, but it is not recommended to send large files directly

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b32e9c-3421b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b32e9c-3421b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?