News for hackers. Stuff that matters.
Re:Riak 2.0.0 RC1 by Rapzid on Tuesday July 22, 2014 @08:15AM (#8068501)
So I guess the magic happens when your client fetches, say a map, and then performs only the operations on it required? So instead of just storing the whole object back after adding a field you instead send back and "add field" operation?
Re:Riak 2.0.0 RC1 by biggest_lou on Wednesday July 23, 2014 @09:54AM (#8074348)
CRDTs in Riak are different from normal KV operations because you don't have to fetch CRDTs to modify them. Instead, you tell Riak which operations should be performed on them, such as adding a field to a map as you mention. Each data type had its own set of operations. Counters can be either incremented or decremented, you can add or remove elements to/from a set, and so on.