Ben Profile picture
Ben
Principal Developer Advocate, Serverless @AWScloud. Co-builder of #serverlesspresso. I code, write and talk about #StepFunctions, #serverless, #eda
Feb 14, 2023 7 tweets 3 min read
Today it’s 7 simple tips for building #Serverless event-driven applications: 🧵

1/7 Identify events and event sources early: Determine the events that matter to your application and identify the sources that generate those events. serverlessland.com/event-driven-a… 2/7 Define an event schema: Create a schema for events that define the type of events, their attributes and the relationship between different types of events. serverlessland.com/event-driven-a…
Feb 13, 2023 7 tweets 1 min read
7 simple rules to help you optimize your Step Functions workflows:🧵#Serverless
1. Apply naming conventions: This makes your workflow easier to understand and maintain. Remember you can use descriptive names e.g. "Tidy Payload for Manual Run" instead of "validatepayload" 2. Input Validation: You can add input validation checks to the state machine to ensure that the input data is in the correct format. This will prevent errors from occurring later in the process.