Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Are there any connector libs that provide "simple" last-write-wins out of the box?


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


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: