Ben Profile picture
Feb 14 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…
3/7 Choose an event-driven architecture pattern: Select an architecture pattern that suits your application requirements. Common patterns include event sourcing, CQRS, and pub/sub. Checkout s12d.com/Eda for ideas
4/7 use a reliable messaging system for message delivery, such as Amazon EventBridge, Apache Kafka, Amazon MSK, RabbitMQ, Amazon MQ, Amazon SQS .. lots more here aws.amazon.com/messaging/
5/7 Implement event handlers: Create event handlers that receive and process events. Use microservices to implement event handlers for each type of event: serverlessland.com/event-driven-a…
6/7 Apply Event-Driven Design (EDD): EDD involves designing systems that are highly decoupled and easily extensible: serverlessland.com/event-driven-a…
7/7 Monitor and troubleshoot: Monitor the event flow and have mechanisms to handle failures. Ensure to handle errors and avoid errors from causing system failures. serverlessland.com/event-driven-a…

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Ben

Ben Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @benjamin_l_s

Feb 13
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.
3. Error Handling: You can add additional error handling mechanisms to the state machine to handle errors that might occur during execution.
Read 7 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(