[infinispan-issues] [JBoss JIRA] (ISPN-2183) Add the ability to fetch a set of keys at once (getAll)
Mircea Markus (JIRA)
jira-events at lists.jboss.org
Thu Jul 18 12:18:26 EDT 2013
[ https://issues.jboss.org/browse/ISPN-2183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mircea Markus updated ISPN-2183:
--------------------------------
Priority: Minor (was: Major)
> Add the ability to fetch a set of keys at once (getAll)
> -------------------------------------------------------
>
> Key: ISPN-2183
> URL: https://issues.jboss.org/browse/ISPN-2183
> Project: Infinispan
> Issue Type: Feature Request
> Components: Core API
> Reporter: Mircea Markus
> Assignee: Manik Surtani
> Priority: Minor
> Labels: modshape
> Fix For: 6.0.0.Final
>
>
> When a transaction knows in advance about the set of keys it needs to read, this cache.getAll(k1,k2,..kn) method can bring a some performance improvement:
> 1. all the keys can be fetched from remote nodes in parallel
> 2. keys that map to the same node can be grouped and fetched in the same RPC request
>
> Note that 1. can be be achieved even at this time by using Cache.getAsync(K) method - that's not as elegant though as it requires the user to write the code the code that waits on the Future objects that are returned.
--
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