android - Improving upload speed by sending chunk of bytes -


i'm developing android video uploading app , uploading large amounts of video problem, different type of exception (host not resolved, pipe broken), multipart post have feeling if upload chunk of bytes 1 @ at time that'll increase upload speed solve connection timeout , these type of problems.

if have control of server, think using raw tcp/ip via sockets instead of http: http adds considerable overhead. in circumstances, going down udp layer instead can improve performance further: aware of complexity of ensuring delivery , sequencing yourself.


Comments

Popular posts from this blog

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -