Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 83741 - Occasionally the update infrastructure is very slow
Summary: Occasionally the update infrastructure is very slow
Status: RESOLVED DUPLICATE of bug 144876
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Update (deprecated - use Eclipse>Equinox>p2) (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Update-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 144876
Blocks:
  Show dependency tree
 
Reported: 2005-01-26 13:48 EST by Dorian Birsan CLA
Modified: 2006-06-22 16:52 EDT (History)
3 users (show)

See Also:


Attachments
.jars fetched for EMF 2.2.0 update (4.56 KB, text/plain)
2005-10-01 06:00 EDT, anatoly techtonik CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dorian Birsan CLA 2005-01-26 13:48:34 EST
When the eclipse update server is overloaded, the update process is very slow. 
We need to make sure we don't add overhead, and also try to improve the lookup 
and download process to alleviate the problem.
For example, one should have enough info in site.xml so that no extra feature 
jar downloads are needed to just present the results.
Comment 1 anatoly techtonik CLA 2005-10-01 05:59:33 EDT
Overhead is made by many feature jars being downloaded during search phase.
Every jar is about 24kbytes, where only 4kbytes is relevant info and other 20k
are image and license files.

Simple example is check for update of EMF 2.2.0 
Eclipse fetches http://download.eclipse.org/tools/emf/updates/site.xml
And after that it downloads 1.5Mb of 63 jars with total about 1.6Mbytes just to
tell me there is no updates available for EMF.

I do not know exact sheme how updater works, but from my perspective these
shouldn't be downloaded just because component numbers in filenames are older
than installed on my system. 

I've got
org.eclipse.xsd_2.2.0
org.eclipse.emf_2.2.0
org.eclipse.emf.ecore.sdo_2.2.0
...

And fetched filenames list is attached.


Proposals to improve update mirrors speed and save traffic:
1. Change Updater component to take into account version info of feature .jar
filenames in site.xml files
2. Do not include image/license info in feature.jar files or put that info
(feature.xml) first in compressed .jar file. This can enable partial .jar
downloads (fetch first 4k and if feature.xml is fully included in this chunk
proceed to other .jar).
3. Add other necessary information into site.xml to avoid all available .jar
downloads (to find out that information it would be nice to have a reference
describing current update process, but I haven't found any yet)
Comment 2 anatoly techtonik CLA 2005-10-01 06:00:55 EDT
Created attachment 27740 [details]
.jars fetched for EMF 2.2.0 update
Comment 3 Philippe Ombredanne CLA 2005-10-19 12:26:43 EDT
>3. Add other necessary information into site.xml to avoid all available .jar
>downloads (to find out that information it would be nice to have a reference
>describing current update process, but I haven't found any yet)
I agree. The dfault Site.xml implementation should be self contained. Fetching
all the feature Jars is non-sense.
Comment 4 Branko Tripkovic CLA 2006-06-22 16:52:41 EDT

*** This bug has been marked as a duplicate of 144876 ***