Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-4439

enhance asynchronous Hot Rod putAllAsync method

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Won't Do
    • Minor
    • None
    • 7.0.0.Alpha4
    • None
    • None

    Description

      The current implementation of the method putAllAsync(...) within the Hot Rod client simple use the putAll(...) method which simple iterate over the given Map and use put(...) for each entry synchrounous.

      Therefore it takes a longer time to put all entries into the cache.

      A simple loop which calls putAsync for each entry has a significant improvement.
      i.e. with 100,000 entries the over all duration is 15 times faster

      Attachments

        Issue Links

          Activity

            People

              gzamarre Galder ZamarreƱo
              rhn-support-wfink Wolf-Dieter Fink
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: