setting buffer size in inputstream
Hi,
I would like to have a fast file transfer as close as to network transfer in a 100 mbps lan. what could be the best buffer size that I can use in my coding to read from my inputstreams and write them to an outputstream.
The sizes vary from 150MB to 1 GB for each document that I would like to transfer through a network.
I have used a buffer size of 40MB as against 8KB of a normal buffer size. will this be a good practice.
Thanks,