Workflow: library for transparent execution of computations across shutdowns and restarts

[ bsd3, control, library, workflow ] [ Propose Tags ]

transparent low level support (state logging, resume of the computation state, wait for data condition) for very long time long living event driven processes. Workflow give the two first services to any monadic computation of type (a-> m a) f x >>=x'-> g x' >>= x''->... z by prefixing each action with the method "step": step f x >>= x'-> step g x' >>= x''->... This means that a workflow can be described with the familiar "do" notation. In principle, there is no other limitation on the syntax but the restriction (a -> m a): All computations consume and produce the same type of data. for a monadic computation, Workflow provides: - transparent checkpointing for each step in permanent storage (using TCache) - sync or async syncronization of each action results with disk. - after soft or hard interruption, resume the monadic computation at the last checkpoint - retrieval of the returned value of any previous action - suspend the computation until the input object meet certain conditions. useful for inter-workflow comunications. For various reasons, this package force the use of TCache for storage and refSerialize for writing to/from strings at the end of the workflow all the intermediate data is erased. see demo.hs and the header of Control.TCache for documentation. this version uses Data.TCache.Dynamic

Modules

[Index]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1, 0.2, 0.3, 0.5.5, 0.5.6, 0.5.8, 0.5.8.0, 0.5.8.1, 0.5.8.2, 0.6.0.0, 0.7.0.0, 0.7.0.1, 0.7.0.2, 0.7.0.3, 0.7.0.4, 0.7.0.5, 0.7.0.6, 0.7.0.7, 0.8.0.0, 0.8.0.1, 0.8.0.2, 0.8.0.3, 0.8.0.4, 0.8.0.5, 0.8.0.6, 0.8.0.7, 0.8.0.8, 0.8.0.9, 0.8.1, 0.8.2, 0.8.3
Dependencies base, old-time, RefSerialize (>=0.2.3), stm (>2), TCache (>=0.5.5) [details]
License BSD-3-Clause
Author Alberto Gómez Corona
Maintainer agocorona@gmail.com
Category Control
Uploaded by AlbertoCorona at 2009-01-19T17:58:11Z
Distributions
Reverse Dependencies 2 direct, 0 indirect [details]
Downloads 29856 total (81 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]