upload large file chunk too slow #3071
-
I tried uploading a file in chunks, each chunk is 20MB, but the processing is very slow. If I adjust the chunks to 1MB each, the speed will be much faster. However, considering that it is not reasonable to upload files of 1GB or more in chunks of 1MB, I still want to chunk them in 20MB chunks. Is there any way to adjust and increase the speed? I modified the macro but upload still slowly |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Please see our documentation, and follow the guidelines in our tutorials. Define "too slow" Please sniff your network (using Wireshark, for example) and observe the traffic. |
Beta Was this translation helpful? Give feedback.
Please see our documentation, and follow the guidelines in our tutorials.
It is not slow for us https://mongoose.ws/documentation/tutorials/http/file-uploads/ https://github.com/cesanta/mongoose/tree/master/tutorials/http/file-transfer
Define "too slow"
Define "reasonable"
Mongoose is oriented towards embedded systems, we don't transfer 1GB files, neither 1MB is likely. Mongoose is not designed to be a lightning fast alternative to Apache, it is an embedded library to make things easy.
Mongoose is not a computer program, it is an embedded library to make things easy, you write your code and use Mongoose.
It is impossible for us to tell what you're doing wrong if you don't say what you're …