[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
Fri Aug 3 08:13:06 EDT 2012


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

Mircea Markus updated ISPN-2183:
--------------------------------

    Fix Version/s: 6.0.0.FINAL
      Description: 
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. 
      Component/s: Core API

    
> 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
>             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: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the infinispan-issues mailing list