[infinispan-dev] Integration between HotRod and OGM

Mircea Markus mmarkus at redhat.com
Mon Jan 27 09:20:53 EST 2014


On Jan 27, 2014, at 1:38 PM, Dan Berindei <dan.berindei at gmail.com> wrote:

> 
> 
> 
> On Mon, Jan 27, 2014 at 2:43 PM, Pedro Ruivo <pedro at infinispan.org> wrote:
> 
> 
> On 01/27/2014 12:26 PM, Emmanuel Bernard wrote:
> > I'd be curious to see performance tests on Pedro's approach (ie walk
> > through the entire data key set to find the matching elements of a given
> > group). That might be fast enough but that looks quite scary compared to
> > a single lookup.
> 
> I would prefer to have a performance hit than a map of sets (group name
> => set of keys). I also think that keep this map synchronized with the
> keys in data container will not be easy...
> 
> Sure, I would prefer the simpler implementation as well. But if changing an application to use groups instead of atomic maps will change the processing time of a request from 1ms to 1s, I'm pretty sure users will prefer to keep use the atomic maps :)

+1
Also the Map<group, Sets<Key>> Emmanuel mentions is something that already exists within the (FG)AM.

Cheers,
-- 
Mircea Markus
Infinispan lead (www.infinispan.org)







More information about the infinispan-dev mailing list