Skip to content

Latest commit

 

History

History
50 lines (29 loc) · 1002 Bytes

README.md

File metadata and controls

50 lines (29 loc) · 1002 Bytes

observability

Deploys an event-driven (a.k.a. distributed) stack on AWS, generates some logs and traces to evaluate observability tooling available in AWS 🤝 Serverless space.

Design

Sagas

Triggers

They define what can trigger the saga (a.k.a. flow).

Uses: Trigger Queue & Lambda

Saga

The saga itself.

Uses: StepFunction

Emitters

They handle emission of key business events from the saga to outside.

Uses: Topic per business event

Omitters

They handle all omissions (read as errors & exceptions).

Uses: Dead Letter Queue & Lambda

Tech Stack

  • AWS StepFunctions - for running sagas / orchestration flows.
  • AWS SQS - for reliable, guaranteed communication.
  • AWS SNS - for fire-and-forget style communication.
  • AWS Lambdas - for compute logic & replay.

Deploy

  • cd stack
  • Configure .env file with your specific values
  • yarn
  • yarn deploy

Test

  • cd stack
  • yarn test