consistent: Eventually consistent STM transactions.
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.
|Versions [faq]||0.0.1, 0.1.0|
|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 repo||head: git clone git://github.com/jwiegley/consistent.git|
|Uploaded||by JohnWiegley at Mon Jan 23 23:27:13 UTC 2017|
|Downloads||958 total (21 in the last 30 days)|
|Rating||(no votes yet) [estimated by rule of succession]|
Docs available [build log]
Last success reported on 2017-01-23 [all 1 reports]
For package maintainers and hackage trustees