This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds and have James Denton on-line!
See this thread for details.
Win a copy of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

multiple sources download  RSS feed

 
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.
 
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
Boost this thread!