stm-stats

retry statistics for STM transactions

Version on this page:0.2.0.0
LTS Haskell 8.6:0.2.0.0
Stackage Nightly 2017-03-28:0.2.0.0
Latest on Hackage:0.2.0.0
Maintained by Joachim Breitner

Module documentation for 0.2.0.0

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.

Changelog:

0.2.0.0

Added warnInSTMFunction to TrackSTMConf.
Bugfix with the global retry count warning.
0.1.0.0
(2011-10-09)
Initial Release
Used by 1 package:
comments powered byDisqus