capataz: OTP-like supervision trees in Haskell

[ concurrency, control, library, mit ] [ Propose Tags ] [ Report a vulnerability ]

capataz enhances the reliability of your concurrent applications by offering supervision of green threads that run in your application.

Advantages over standard library:

  • Links related long-living processes together under a common capataz supervisor, with restart/shutdown order

  • Set restart strategies (Permanent, Transient, Temporary) on IO sub-routines on a granular level

  • Set restart strategies on a pool of long-living worker threads (AllForOne, OneForOne)

  • Complete telemetry on the sub-routine lifecycle of your application (start, error, restarts, shutdown)


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.0.0.0, 0.0.0.1, 0.0.0.2, 0.1.0.0, 0.1.0.1, 0.2.0.0, 0.2.1.0
Change log CHANGELOG.md
Dependencies async (>=2.1.1.1 && <2.3), base (>=4 && <5), bytestring (>=0.10.8), pretty-show (>=1.6.13), prettyprinter (>=1.1), rio (>=0.1.2.0), teardown (>=0.5.0.0), time (>=1.6.0), uuid (>=1.3) [details]
Tested with ghc ==8.0.1, ghc ==8.0.2, ghc ==8.2.1, ghc ==8.6.3
License MIT
Copyright © 2018, 2019 Roman Gonzalez and Collaborators
Author Roman Gonzalez
Maintainer open-source@roman-gonzalez.info
Category Control, Concurrency
Home page https://github.com/roman/Haskell-capataz#readme
Bug tracker https://github.com/roman/Haskell-capataz/issues
Source repo head: git clone https://github.com/roman/Haskell-capataz
Uploaded by RomanGonzalez at 2019-05-21T02:29:57Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 4149 total (6 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2019-05-21 [all 1 reports]

Readme for capataz-0.2.1.0

[back to package description]

Capataz

Our greatest glory is not in never failing, but in rising every time we fail.– Confucius

Table Of Contents

Installation

Hackage Stackage LTS Stackage Nightly

Make sure you include the following entry on your cabal file's dependecies section.

library:
  build-depends: capataz

Or on your package.yaml

dependencies:
- capataz

Documentation

The documentation website can be found here. Some relevant links:

Development

Build Status Github Hackage Dependencies

Follow the developer guidelines

In future releases

  • Replace Protolude in favor of RIO
  • Documentation of performance analysis
  • Ensure unit tests always finish on all concurrent scenarios (dejafu experiment)