Hi gang,
I have developed one file transfer(means file
uploading) application for that I have used
swing,servlet and Tomcat4.1.24.Now my problem is the
speed. The speed of manual copy and paste of file on
hard disk of remote computer is faster than my
application.I want to increase the speed of
OK, take a step back and think about this.
ATA-66 disk bus: 533 Mbps
ATA-100 disk bus: 800 Mbps
Ultra-160 SCSI disk bus: 1300 Mbps
Now, you're saying that you have a network connection of 2 Mbps (I think
you mean T1 or E1 as ISDN is not 128 Kbps unless you have a bunch of
lines bonded together
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
I want some suggestion about below factors:
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
?
Yeah.. test with higher block sizes.
You definitely should use a buffered stream. Get a book on networking and
take a look at these issues. There are many good ones out there. Network
Programming by Hughes, et al, is one I have enjoyed.
Micael
At 01:50 AM 8/19/2003 -0700, Bikash Paul wrote:
Hi gang,
I have developed one file
If speed really is of paramount importance, consider directly opening
sockets and transfering data directly between code running on Tomcat and
your client application/applet/etc -- essentially taking Tomcat out of the
loop for the actual file transfer.
We've seen significant performance
1) Yes
2) Yes
3) No (AFAIK)
4) OK
5) Split your file and use threads in you application.
- Original Message -
From: Micael [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Tuesday, August 19, 2003 2:59 PM
Subject: Re: [File Upload] How to Increase
Hi Gang,
Lot of thanks for all of urs suggestion.Now By
modifying some factors in my code like by compressing
file on the fly using util.zip package and using
Buffer stream and also increasing block size(16384
bytes) I can increase speed of file transfer upto some
extent means now speed of manual