3 ms·
Are there any connector libs that provide "simple" last-write-wins out of the box?
by stock_toaster 14y ago
Are there any connector libs that provide "simple" last-write-wins out of the box?
- aphyr 14y agoIt'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.
- bonzoesc 14y agoSimple last-write-wins can be configured per-bucket, so client libs can be naïve: http://wiki.basho.com/HTTP-Set-Bucket-Properties.html http://wiki.basho.com/HTTP-Set-Bucket-Properties.html