The operations in a transaction must be performed atomically (i.e., either all of them are performed or none of them is performed.) Atomic transaction implementation is typically based on a commit protocol, such as the widely used two-phase commit protocol.