stm-stats: retry statistics for STM transactions

[ bsd3, concurrency, library ] [ Propose Tags ] [ Report a vulnerability ]

This module provides functions that can replace calls to atomically and count how often the transaction was retried until it succeeded. It can emit warnings when transaction are retried more often than a given threshold, and provides global statistics across all transaction.

As an additional feature, if the transaction was named, transaction-related exceptions such as BlockedIndefinitelyOnSTM are replaced by variants that indicate which transaction caused the exception.

Modules

[Index]

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.2.0.0
Dependencies base (>=4 && <5), containers (<0.6), stm, template-haskell, time [details]
License BSD-3-Clause
Author David Leuschner <leuschner@factisresearch.com>, Joachim Breitner <mail@joachim-breitner.de>
Maintainer Joachim Breitner <mail@joachim-breitner.de>
Uploaded by JoachimBreitner at 2011-10-09T16:43:49Z
Revised Revision 1 made by Bodigrim at 2025-12-19T19:24:24Z
Category Concurrency
Source repo head: darcs get http://darcs.umidev.de/pub/stm-stats/
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 2484 total (9 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]