Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
stock_toaster
14y ago
0 comments
Save
Share
Are there any connector libs that provide "simple" last-write-wins out of the box?
0 comments
2 comments · 2 top-level
top
newest
oldest
bonzoesc
14y ago
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
aphyr
14y ago
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.
j
/
k
navigate · click thread line to collapse