Mobile Chunked File HTTP Upload

Is it worth the development effort to chunk file (image) uploads from mobile devices over cell connections? By chunk I mean making a series of independent HTTP post requests with different parts of the file and reassembling on the server.

Specifically, I've heard that mobile network connections may drop the connection before a file is uploaded completely (where it doesn't happen over wifi). My hypothesis is that if I chunk the upload, the dropped connection will be less likely. My concern is that in practice, it isn't more reliable, and now I've introduced latency.


If the receiving end of the upload allows you to resume the upload at a particular chunk it could be very useful. This would allow you to minimize the impact of network errors by not having to restart the entire upload when an error is encountered.

For example, if you were using S3 as the backend you could leverage their Multipart Upload

链接地址: http://www.djcxy.com/p/96716.html

上一篇: 创建p2p连接iOS

下一篇: 移动分块文件HTTP上传