Skip to content

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

License

Notifications You must be signed in to change notification settings

kevinfrommelt-wf/aws-lambda-fsm-workflows

 
 

Repository files navigation

//: # (Licensed under the Apache License, Version 2.0 (the "License");) //: # (you may not use this file except in compliance with the License.) //: # (You may obtain a copy of the License at) //: # ( ) //: # (http://www.apache.org/licenses/LICENSE-2.0) //: # ( ) //: # (Unless required by applicable law or agreed to in writing, software) //: # (distributed under the License is distributed on an "AS IS" BASIS,) //: # (WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.) //: # (See the License for the specific language governing permissions and) //: # (limitations under the License.)

AWS Lambda Finite State Machine Workflows

A 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) AWS DynamoDB for idempotency
  13. (Optionally) AWS CloudWatch for error and failure monitoring

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. Setup AWS Services
  12. TODO:

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.4%
  • Makefile 0.6%