Database transactions and commit boundaries
medium 4 minDefine the smallest set of changes that must succeed together.
Remember it
The few things worth knowing cold, and how to make them stick.
Memory hook
Define the smallest set of changes that must succeed together. A transaction makes those local writes atomic. Its guarantees stop at the systems participating in that commit.