The moose likes Sockets and Internet Protocols and the fly likes File Sharing - Improve the performance (sharing speed) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "File Sharing - Improve the performance (sharing speed)" Watch "File Sharing - Improve the performance (sharing speed)" New topic

File Sharing - Improve the performance (sharing speed)

Sameera Subasinghe

Joined: Jun 16, 2009
Posts: 8
Actually these class files are the files that i am using to share a file.

Can some one help me to improve the performance of sharing a large size of file???
(Internet bandwidth is one of major problems.But I need a code wise solution)

Thank you !!!

JCE: please use code tags
Joe Ess

Joined: Oct 29, 2001
Posts: 8836

The online book Java Platform Performance has some basic rules regarding IO performance, along with ideas on how to measure and compare throughput. The upper bound on throughput is going to be your network, and there's not much tweaking Java code can do a bout that.

"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
Consider Paul's rocket mass heater.
subject: File Sharing - Improve the performance (sharing speed)
Similar Threads
how to IO console through MyApplication?
How to Change the File Name for Each Uploaded Files to the Socket Server?
threads concurrency problem
problem on reading the content of a file which has been uploaded in a remote ftp server
keep getting this exception Address already in use: JVM_Bind