Reasons for extremely slow retrieval of maven-metadata.xml

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Reasons for extremely slow retrieval of maven-metadata.xml

krichter
Hi together,
I'm new to this mailing list and hope to be at the right place.

I'm having the problem that the retrieval of maven-metadata.xml takes a
lot of time (for 6 files > 60 seconds each). The socket timeout is set
to 2000 ms. The issue occurs every day at the first retrieval of
artifacts after 00:00, the updatePolicy in settings.xml is set to
interval:25200, so there might be two dependent, but separate issues.
All artifacts are available in the local cache and in artifactory
(retrieval cache period is set to 43200 s). It is certain that the
artifacts are only available in one remote repository.

Any help is appreciated!

All the best,
Karl-P. Richter


------------------------------------------------------------------------------
Sponsored by Intel(R) XDK
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

signature.asc (567 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Reasons for extremely slow retrieval of maven-metadata.xml

OhadR
any anser?
i have the same issue... maven-metadata.xml takes tons of time to download...
Reply | Threaded
Open this post in threaded view
|

Re: Reasons for extremely slow retrieval of maven-metadata.xml

Ariel
Hi Guys,

Usually this scenario is happening when using a very 'big' virtual repository for resolution of your artifacts. What is happening behind stages is that the virtual repository will aggregates all of the content (all of the remote maven-metadata.xml files) from the remote repositories in order to have a full list of artifacts that are available to it.

This can be 'fix' by creating your own virtual repository that will hold less remote repositories. By doing so you should reduce the time of the aggregation of this maven-metadata.xml file. 

Another option is to address directly to a remote repository that holds the specific artifacts. For example, if you are trying to resolve Maven artifacts you can try resolving them directly from the Jcenter remote repository.

Hope I got your scenario right :)

Ariel.

On Fri, Sep 12, 2014 at 7:31 PM, OhadR <[hidden email]> wrote:
any anser?
i have the same issue... maven-metadata.xml takes tons of time to
download...



--
View this message in context: http://forums.jfrog.org/Reasons-for-extremely-slow-retrieval-of-maven-metadata-xml-tp7579482p7579979.html
Sent from the Artifactory - Users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users


------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users