Uploaded image for project: 'jUDDI (Retired)'
  1. jUDDI (Retired)
  2. JUDDI-89

JDBC Datastore performance improvements

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9rc4
    • 3.1.5
    • None
    • None
    • Oracle

    Description

      Hi,

      Please find a huge patch attached.

      We have used Juddi with more than an hundred business services and we had some issues. This patch correct these issues :

      • Juddi was very slow with more than 1000 business services.
      • Oracle cannot handle more than 1000 elements in SQL "IN" request, so Juddi crashed when a business entity contained more than 1000 services.

      For the "IN" problem we added a method in util/Config which gives the maximum element the db can handle in IN requests.

      For the performance problem we had to rewrite a lot of the JDBC datastore. Basically the thing is to avoid to do too much sql requests by grouping them. As an example instead of the method fetchService() we use the method fetchServices(), etc.

      Thanks to these corrections we had great performance improvement : the getbusinessdetail used to take more than 40 seconds on big business entity, now it takes about 6 seconds.

      This patch applies to v0.9rc4.

      Regards,

      Rémi Flament.

      Attachments

        1. juddi.patch
          332 kB
          Rémi Flament
        2. juddi3.patch
          0.5 kB
          Rémi Flament
        3. patch2.patch
          8 kB
          Rémi Flament

        Issue Links

          Activity

            People

              kurtstam Kurt T Stam
              rflament Rémi Flament
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: