Sure, UDP increases transfer speed. But it also reduces reliability. Do your users care if pieces of the transmitted file are missing? If they do (and I expect they would) then you are going to have to write code to make sure that all of the pieces of the file arrive at the target and are put back together in the right order. And to do this your code would essentially have to duplicate what TCP does anyway.
Maulin Rathod wrote:We are zipping file using GZIP before upload/download to reduce amount data transfer. Is there better method available improve data compression?
I think Bzip2 has better compression than Gzip on average, at the expense of longer compression/decompression times. A Java implementation is part of http://commons.apache.org/compress/, so you can easily try if it compresses your data better than Gzip.
Rob Spoor wrote:If I could +2 Paul's post I would have.
Glad I could be of assistance :-)
Ping & DNS - updated with new look and Ping home screen widget