Skip to content

Comment on FoundationDB: A new generation of NoSQL databaseparent

Comments

What's problematic is when you have a transaction that span amongst several nodes and you need to reconcile several transactions (commit phase).

The usual way to do it is to refuse the transaction if a conflict is detected, however this is a real performance and useability issue for a NoSQL database.

What I'm implying is that if you have ACID transactions but they can fail very easily, you don't offer much...

It's not that hard to retry a transaction until some deadline is reached. Many programming languages have standard library facilities to make this extremely easy.

If the database is fast enough and transaction failure is at least moderately unlikely, it's not really an issue.

SSTable style databases are very cheap to snapshot, so you could totally handle this MVCC style. I buy the logic could get nutty in some pathological cases, but performance wise it shouldn't be much of a problem.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.