Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-6380

Improve Grapes resolution speed and stability by adding Bintray JCenter as first remote resolver in the chain

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 2.1.7
    • None
    • Grape
    • None
    • Patch

    Description

      Currently, the chain looks like this:
      1. Grape's local cache
      2. Maven local cache
      3. Codehaus Maven repo
      4. Maven Central
      5. Java.net Maven repo

      From what we saw, this chain has 2 problems:
      1. Codehaus repo is relatively slow
      2. Codehaus repo doesn't contain a lot of commonly used popular artifacts.

      Those problems led to a slow resolution - all the requests suffered from Codehaus slowness and most of them then fell back to Maven Central anyhow.

      We believe that adding Bintray's JCenter before Codehaus and Maven Central solves both those problems - it's much (much!) faster than Codehaus and it contains artifacts from both Codehaus, Maven Central, and much more (inc. Java.net repo and others).

      In the rare case when the artifact is not present in JCenter yet, the resolution will continue to the rest of the default resolvers, and Bintray's smart self populating mechanism will fetch the missing artifacts asynchronously in the matter of minutes, which means that next user will be able to get the artifact from JCenter without falling back to additional repositories.

      Attachments

        Activity

          People

            melix Cédric Champeau
            jbaruch Baruch Sadogursky
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: