Re:“MongoDB is dead. Long live Postgresql”
by jeffdavis on Wednesday November 27, 2013 @12:49AM
(#6806670)
Agreed. The first rule of computing is that anything can do everything -- it's just a matter of how challenging it is to implement.
The notion of transactions were invented not for performance, but because they are easier to reason about. So much easier that it often means the difference between a project that never finishes and a project that finishes so early that you have time to spend on optimization and caching.
...may be possible, but almost always requires domain-specific concurrency-level understanding in your datastore, and is almost always harder to work with than strong consistency.
Saying that transactions are 'rarely' needed boggles my mind. Working inside transactions (where feasible, which is in the large majority of situations) vastly simplifies data storage.