4 ms·
Can that be achieved by setting all writes in postgres to isolation level serializable?
by akurilin 11y ago
Can that be achieved by setting all writes in postgres to isolation level serializable?
- andrewchambers 11y agoNot in the same way. Because the datomic database is immutable queries can take as long as they want and the results will never be inconsistent.
- lucian1900 11y agoPostgres transactions can also take as long as they want and the results will never be inconsistent. The downside to SERIALIZABLE is that conflicts become visible failures to the client, so you have to handle them and retry. Datomic solves this by serialising through the function you pass, but at great latency cost.
- akurilin 11y agoNo free lunch.