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

enhance asynchronous Hot Rod putAllAsync method

XMLWordPrintable

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

      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

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

              Created:
              Updated:
              Resolved: