Re:PostgreSQL Locking Revealed
by andrewchambers on Monday November 09, 2015 @01:59PM
(#10534993)
Not 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.
[ Parent
| on HN ]
Re:PostgreSQL Locking Revealed
by lucian1900 on Tuesday November 10, 2015 @05:42AM
(#10538582)
Postgres 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.