Tee
Tee

Reputation: 45

Improving upload speed by sending chunk of bytes

I'm developing an android video uploading app and uploading large amounts of video is a problem, I get different type of exception sometimes (host not resolved, pipe broken), I do a multipart POST but I have a feeling if I upload chunk of bytes one at at time that'll increase upload speed as well as solve connection timeout and these type of problems.

Upvotes: 0

Views: 995

Answers (1)

Pontus Gagge
Pontus Gagge

Reputation: 17278

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.

Upvotes: 1

Related Questions