On 14 May 2012, at 18:48, Emmanuel Bernard wrote:
I agree with Sanne, Cassandra is very good at that use case due to
the way they store things. OTOH, that's their best use case by far :)
We could think about a way to mix together:
- fine grained locking
- AtomicMap
- partial load
basically we could imagine some new primitive features for AtomicMap like:
- get subkeys between x and y
- add subkey (not requiring to load the AtomicMap)
That would get us a long way towards some of what MongoDB does wrt partial document
update.
Don't we have a good deal of this already with Randall's schematic patch
(currently as a part of ModeShape, targeted for inclusion in Infinispan 5.2.0)?
https://issues.jboss.org/browse/ISPN-1103
https://github.com/ModeShape/modeshape/tree/master/modeshape-schematic
--
Manik Surtani
manik(a)jboss.org
twitter.com/maniksurtani
Lead, Infinispan
http://www.infinispan.org