compressing bytes to send in objectoutputstream
i am currently compressing a byte[] to send over the internet. i have used the deflater.best compression, but haven't noticed any performance increases.
when no compression happens it takes a little longer over the internet to reach it's destination.
when doing compression it takes longer for the compression/decompression to happen that it adds to the overall time, making it equal in time to using no compression.
i am on the road and not able to change code on my server, but wanted to see if there was any other ideas on how to transmit the bytes quicker. i am currently sending video and images from a client to server, and then back to the client when requested. i didn't know if some of the other deflater compression types would work better, such as huffman or best_speed. i haven't come across any other ideas, but am looking to speed up the transmission as it take roughly 1:30-2:00 minutes to transmit the videos I am sending. and to view the video that is much longer than wanted.
i also read about the CompressedBlockOutputStream and CompressedBlockInputStream and wasn't sure if they would work well either.
thanks

