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

ruby - When to use an ORM (Sequel, Datamapper, AR, etc.) vs. pure SQL for querying -

php - PHPDoc: @return void necessary? -

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