News for hackers. Stuff that matters.
Re:Migrating From MongoDB To Riak At Bump by stock_toaster on Monday May 14, 2012 @07:29PM (#3973932)
Are there any connector libs that provide "simple" last-write-wins out of the box?
Re:Migrating From MongoDB To Riak At Bump by bonzoesc on Monday May 14, 2012 @10:42PM (#3974592)
Simple last-write-wins can be configured per-bucket, so client libs can be naïve: http://wiki.basho.com/HTTP-Set-Bucket-Properties.html
Re:Migrating From MongoDB To Riak At Bump by aphyr on Monday May 14, 2012 @07:38PM (#3973969)
It's not hard. def merge(siblings) { sort_by(siblings) { |s| s.timestamp } }.last

Or, in Knockbox/Meangirls, strategies like LWW-set.

Until your clocks get out of sync.