The consistent package
Eventually consistent STM transactions.
Consistent provides eventually consistent atomic transactions, by delaying updates until no threads is mutating a shared variable.
This comes at a cost of having a separate TVar for every thread, but has the advantage that no thread will ever lock or retry except for the manager actor responsible for performing the updates.
|Dependencies||base (==4.9.*), lifted-async (>=0.1.1), lifted-base (>=0.2.2.0), monad-control (>=1.0.1), stm (>=2.4.2), transformers (>=0.5), transformers-base (>=0.4), unordered-containers (>=0.2.3.0) [details]|
|Source repository||head: git clone git://github.com/jwiegley/consistent.git|
|Uploaded||Mon Jan 23 23:27:13 UTC 2017 by JohnWiegley|
|Downloads||396 total (11 in the last 30 days)|
|Rating||(no votes yet) [estimated by rule of succession]|
|Status||Docs available [build log]
Last success reported on 2017-01-23 [all 1 reports]
Hackage Matrix CI
For package maintainers and hackage trustees