aaronkavlie-wf / aws-lambda-fsm-workflows

A Python framework for developing finite state machine-based workflows on AWS Lambda.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AWS Lambda Finite State Machine Workflows

(This repo is maintained by an SSAE 16 SOC 1 Type 2 compliant organization)

A Python 2.7 framework for running Finite State Machine (FSM) Workflows on

  1. AWS Lambda for code execution,
  2. (Optionally) AWS ECS for long-running code execution,
  3. AWS Kinesis for event dispatch
  4. (Optionally) AWS DynamoDB for event dispatch
  5. (Optionally) AWS SNS for event dispatch
  6. (Optionally) AWS SQS for event dispatch
  7. Support for primary and secondary event dispatch mechanisms
  8. (Optionally) AWS DynamoDB for checkpointing
  9. (Optionally) AWS DynamoDB for retries with backoff
  10. (Optionally) AWS SQS for retries with backoff
  11. (Optionally) Memcache for idempotency
  12. (Optionally) Redis for idempotency
  13. (Optionally) AWS DynamoDB for idempotency
  14. (Optionally) AWS CloudWatch for error and failure monitoring

or

  1. AWS Lambda for code execution
  2. (Experimental) AWS Step Functions for orchestration and retries,

The FSM implementation is inspired by the paper:

[1] J. van Gurp, J. Bosch, "On the Implementation of Finite State Machines", in Proceedings of the 3rd Annual IASTED International Conference Software Engineering and Applications,IASTED/Acta Press, Anaheim, CA, pp. 172-178, 1999. (www.jillesvangurp.com/static/fsm-sea99.pdf)

  1. Architecture
  2. Overview
  3. Justification
  4. Installing Dependencies
  5. Settings
  6. Chaos
  7. Idempotency
  8. FSM YAML
  9. Running Locally
  10. Running on AWS
  11. Running on AWS Step Functions
  12. Setup AWS Services
  13. TODO:

About

A Python framework for developing finite state machine-based workflows on AWS Lambda.

License:Other


Languages

Language:Python 98.9%Language:Dockerfile 0.6%Language:Makefile 0.3%Language:Shell 0.2%