Nermin Imamovic
Sep 12, 2024

Only great people have the courage to speak about their own mistakes. Good job and good explanation. My suggestion here would be to add an extra step between `SNSTopic` and `SendEmailSerivce` - it will be an SQS queue. We would use Fanout Pattern, and we can have ability to add another subscription topic such as SMS, Slack notification, phone notification, etc. The only drawback is a little bit of latency, and at least one delivery (some lambdas can be trigger more than once). Using SQS subscription to the topic, we will be sure that the message is delivered and persisted. We can add retry logic and dead letter queue there.

An excellent article definitely.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Nermin Imamovic
Nermin Imamovic

Written by Nermin Imamovic

Software Arch/Dev from Sarajevo. AWS Solutions Architect Associate Double Masters Degree in Computer Science and Informatics. Simplicity reduces complexity.

Responses (1)

Write a response