Transactions

Operations spanning multiple entities in the cluster often require coordination to ensure consistency. The endless-transaction side library, itself built with endless, allows to describe such cluster-spanning operations with the two-phase commit protocol and integrates smoothly with endless’s abstractions. The library example illustrates this precise use case, with a cluster of bank accounts and a transfer feature implemented with transactions.