Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
stock_toaster
on May 14, 2012
|
parent
|
context
|
favorite
| on:
Migrating From MongoDB To Riak At Bump
Are there any connector libs that provide "simple" last-write-wins out of the box?
bonzoesc
on May 15, 2012
|
next
[–]
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
on May 14, 2012
|
prev
[–]
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: