Howdy,
You will be hard-pressed to find any network file transmission
mechanism, even on unlimited bandwidth, that exceeds local hard-drive
folder to folder copy.  Good luck ;)

>transfer.Networking is done through 2MBPS dedicated
>ISDN lease line.Any help will be highly appreciated.

Verify you really have 2mbps bandwidth.

>1.Iam sending file to server as block wise of 1024
>bytes and my servlet also writes file in remote
>destination folder as a block wise of 1024 bytes.If I
>increase the block size then is it increase the speed
>?

Up to a certain block size, which is the MTU for the link with the
lowest MTU along your transmission path, yes.

>2. I have used DataOutputStream for writing on
>outputstream and InputStream for reading,if I used
>BufferWriter and BufferReader then is it increase the
>speed ?

Actually it might decrease it.  Give it a shot though ;)

>3.Is there any tuning of tomcat,so that it increase
>the speed ?

Not really: I don't think tomcat would be your bottleneck.  You could
try to implement a raw socket connector and use it instead of coyote,
but I doubt you'd see much performance difference.

>4.Lastly I have closed all my Input and output stream
>object and I have also closed all connection at the
>end of file transfer method.

That's a good practice that doesn't have much to do with transmission
speed.

>Or is there any other factor for increasing Speed ?

Compress your file better?

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to