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

AsyncStore preload is slow, when given database datastore

    XMLWordPrintable

Details

    • Medium

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: