serverless-operations / serverless-step-functions

AWS Step Functions plugin for Serverless Framework ⚡️
Other
1.03k stars 204 forks source link

Step Function Event: Dynamo Streams #118

Open jwallaceboetzkes opened 6 years ago

jwallaceboetzkes commented 6 years ago

This is a Feature Proposal

Dynamo Streams are very useful for queue management. Depending on the system, queues (through streams) can trigger complex distributed applications which require state machine-style lambda invoking. It would be far more efficient to use a state machine since invoking lambdas takes ~150ms with an 'event' type. However, if we need to use a lambda to start the state machine, much of the efficiency is lost since this takes a similar amount of time

Request: Add streams to the HTTP and scheduled events

horike37 commented 6 years ago

Hi @jwallaceboetzkes, thank you for your proposal 👍 Yes, I really would love to introduce the Dynamo Streams event! However, to get started implementation, we need to wait that CloudFormation will support the event trigger for Step Functions because the Serverless Framework works on CloudFormation behind the scene