[infinispan-issues] [JBoss JIRA] (ISPN-3387) AsyncStore preload is slow, when given database datastore
Laszlo Hadadi (JIRA)
jira-events at lists.jboss.org
Wed Jul 31 09:37:26 EDT 2013
Laszlo Hadadi created ISPN-3387:
-----------------------------------
Summary: 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
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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list