From 47b1f509f084e8def6ff38bd188dc1249e4359dc Mon Sep 17 00:00:00 2001 From: Jonas Chapuis Date: Fri, 1 Mar 2024 14:53:30 +0100 Subject: [PATCH] Add reference to endless-transaction --- documentation/src/main/paradox/index.md | 1 + documentation/src/main/paradox/transactions.md | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 documentation/src/main/paradox/transactions.md 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. +