logoalt Hacker News

cwilluyesterday at 11:18 PM1 replyview on HN

Huh?


Replies

lmmyesterday at 11:21 PM

I mean you're not really making use of MVCC etc. at that point. Foreign keys are far less relevant because your transactions are all fully atomic, so it doesn't really matter if your data is in an inconsistent state in the middle of a transaction, and conversely you've got no risk of e.g. adding a reference to a row that another transaction deleted concurrently. Why not just use e.g. Redis at that point?

show 5 replies