[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#732248: ITP: python-taskflow -- A library to complete workflows/tasks in HA manner



Package: wnpp
Severity: wishlist
Owner: Sebastien Badia <seb@sebian.fr>

* Package name    : python-taskflow
  Version         : 0.1.1
  Upstream Author : Taskflow Development Mailing List <taskflow-dev@lists.launchpad.net>
* URL             : https://github.com/stackforge/taskflow
* License         : Apache-2.0
  Programming Lang: Python
  Description     : A library to complete workflows/tasks in HA manner


Taskflow is a Python library for OpenStack that helps make task
execution easy, consistent, and reliable. It allows the creation of
lightweight task objects and/or functions that are combined together
into flows (aka: workflows). It includes engines for running these
flows in a manner that can be stopped, resumed, and safely reverted.
Projects implemented using the Taskflow library enjoy added state
resiliency, fault tolerance and simplified crash recovery. Think of it
as a way to protect an action, similar to the way transactions protect
operations in a RDBMS. If a manager process is terminated while an
action was in progress, there is a risk that unprotected code would
leave the system in a degraded or inconsistent state. With Taskflow,
interrupted actions may be resumed or rolled back automatically when a
manager process is resumed.
..
Using Taskflow to organize actions into lightweight task objects also
makes atomic code sequences easily testable (since a task does one and
only one thing). A flow facilitates the execution of a defined sequence
of ordered tasks (and imposes constraints on the way an engine can run
those tasks). A flow is a structure (a set of tasks linked together), so
it allows the calling code and the workflow to be disconnected so flows
can be reused. Taskflow provides a few mechanisms for structuring &
running flows and lets the developer pick and choose which one will work
for their needs. 


Reply to: