ericabouaf / aws-swf-toolkit

A Node.js Framework for workflows on Amazon SWF
MIT License
17 stars 5 forks source link

aws-swf-toolkit

A Node.js Framework for building workflows on Amazon SWF

This toolkit provides a collection of command-line utilities to interact with the Amazon Simple Workflow (SWF) service. They form a framework for writing and running Amazon SWF activities & deciders in Javascript.

See also

swf-activity: Running Activity workers

pretty dumb, an activity is just a function call EXCEPT: does not have to send a response right away ! ( very long tasks ! )

swf-deciders: Running the Workflow logic

IMPORTANT: fundamental difference with script: the decider is called many times through the workflow execution. It is STATELESS. Instead, we must inspect the event history of the workflow, and make our decisions (simplified using aws-swf decision task API)

CLI tools to play with swf from the command line

TODO

Documentation

Installation

$ [sudo] npm install -g aws-swf-toolkit

Overview

AWS-SWF Overview

License

MIT License