Re:Things Unix can do atomically (2010)
by trungaczne on Monday May 30, 2016 @07:41PM
(#11803818)
The business logic of your web application should resolve around database calls. Popular databases should already guarantee these atomicity properties for you through transactions.
[ Parent
| on HN ]
> The business logic of your web application should resolve around database calls
Might, not should. All web apps are not just front ends to a single database where transactions are useful and once you leave the realm of a single database into a more distributed type system then transactions are no longer an option.
Database guarantees are great until your data doesn't fit in a single database; it's good to examine what your database is providing for you, and to contemplate the costs for providing it in the database level.