Y
Hacker News
new
|
ask
|
show
|
jobs
by
earhart
2414 days ago
That gets tricky if one of the writes fails.
1 comments
hobs
2414 days ago
Generally you get two phase commit involved here, or an asynch mirror that you can restore over if there's failure.
link
smilliken
2414 days ago
Two phase commit makes a promise it can't keep. CAP theorem is not amused.
It's slow, complex, a leaky abstraction, and ahould be avoided for better consistency models.
link
hobs
2414 days ago
I generally couldn't agree more, but yet its the first tool in the toolbox for a lot of databases.
link