简体   繁体   中英

Improving upload speed by sending chunk of bytes

我正在开发一个Android视频上传应用程序,并且上传大量视频是一个问题,有时会遇到不同类型的异常(主机未解析,管道损坏),我执行了多部分POST,但我有感觉是否上传了一次写入一个字节,这将提高上载速度,并解决连接超时和此类问题。

If you have control of the server, think about using raw TCP/IP via sockets instead of http: http adds considerable overhead. In some circumstances, going down to the udp layer instead can improve performance even further: but be aware of the complexity of ensuring delivery and sequencing yourself.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM