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

AsyncStore preload is slow, when given database datastore

XMLWordPrintable

    • Medium

      Currently AsyncStore.loadAll() method strategy is suboptimal.
      actually loadAll do this:
      getAll keys from cache
      itarate on keys and load each value from store.
      This is can be really costly when we have db persistance behind async store.
      cost:
      1 query for keys + number of keys query.

            mircea.markus Mircea Markus (Inactive)
            hadadil Laszlo Hadadi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: