Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

multiple sources download

 
Alessandro Brawerman
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it possible to download pieces of the same file from different sources using J2ME? Can several socket connections be openned at the same time to different hosts?
The thing is I want to increase the performance of my application when downloading files either through sockets or URLConnections and I thought that downloading pieces of the same file from different hosts would be a good idea. Is there a way to do it? How?
Thanks,
Alessandro.
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'd say it's highly probable that your mobile's connection speed is the bottleneck, not the bandwidth of the server. If this is the case (and assuming that you need the whole file downloaded until you can do anything useful), using two or more simultaneous connections to download the same fixed number of bytes per second does not make sense to me.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic