caching - Cache for java-backend which can accept multiple keys & return multiple values -


currently using hazelcast distributed cache application. takes in key , gives me values. but, more helpful in application if cache can accept multiple keys , return corresponding values, in 1 function call. can hazelcast it? or there alternate solution, ehcache or redis ?

i not sure redis or hazle cast ehcache has this. check out

http://ehcache.org/apidocs/net/sf/ehcache/ehcache.html

it has method map getall(collection keys) , bunch of more bulk operation methods

check out more explanation

http://dancing-devil.blogspot.com/2011/04/ehcache-bulk-operation-apis.html

the upcoming jsr107 / jcache standard has bulk operations defined. every standards compliant cache have this.


Comments

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -