[infinispan-issues] [JBoss JIRA] (ISPN-3387) AsyncStore preload is slow, when given database datastore

Dan Berindei (JIRA) issues at jboss.org
Tue May 13 10:32:56 EDT 2014


     [ https://issues.jboss.org/browse/ISPN-3387?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Berindei resolved ISPN-3387.
--------------------------------

    Fix Version/s: 7.0.0.Alpha1
                   5.2.8.Final
       Resolution: Duplicate Issue


Duplicate of ISPN-3957

> AsyncStore preload is slow, when given database datastore
> ---------------------------------------------------------
>
>                 Key: ISPN-3387
>                 URL: https://issues.jboss.org/browse/ISPN-3387
>             Project: Infinispan
>          Issue Type: Task
>          Components: Loaders and Stores
>    Affects Versions: 5.3.0.Final
>         Environment: database datastore, with AsyncStore
>            Reporter: Laszlo Hadadi
>            Assignee: Mircea Markus
>            Priority: Minor
>              Labels: async, database
>             Fix For: 7.0.0.Alpha1, 5.2.8.Final
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)


More information about the infinispan-issues mailing list