diff --git a/documentation/src/main/paradox/index.md b/documentation/src/main/paradox/index.md index ece9801..aabd994 100644 --- a/documentation/src/main/paradox/index.md +++ b/documentation/src/main/paradox/index.md @@ -17,6 +17,7 @@ endless is a library to build distributed systems in functional Scala using a pl * [Abstractions](abstractions.md) * [Runtimes](runtime.md) * [Example app](example.md) +* [Transactions](transactions.md) * [Reference](reference.md) * [Inspiration](inspiration.md) @@@ diff --git a/documentation/src/main/paradox/transactions.md b/documentation/src/main/paradox/transactions.md new file mode 100644 index 0000000..bad4caa --- /dev/null +++ b/documentation/src/main/paradox/transactions.md @@ -0,0 +1,6 @@ +# Transactions + + + +Operations spanning multiple entities in the cluster often require coordination to ensure consistency. The [endless-transaction](https://endless4s.github.io/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](https://endless4s.github.io/transaction/example.html) illustrates this precise use case, with a cluster of bank accounts and a transfer feature implemented with transactions. +