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

enhance asynchronous Hot Rod putAllAsync method

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

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
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: