All project notes

Engineering

AWS messaging with SNS and SQS

Routes events to subscribers and queues background work for independent consumers.

CandyStream SNS topic → Filtered SQS subscriptions → Ingestion and reindex workers.
Illustrative diagram

CandyLake subscribed two SQS queues to the CandyStream SNS topic. Subscription filters admitted lead and lead-log events and used a message attribute to distinguish normal ingestion from bulk reindexing. Separate Lambda event mappings consumed those queues with different batch and concurrency settings. Carousel used the same SNS-to-SQS pattern to receive CandyBase notifications.

SalesCandy Git evidence — Dodol/candylake 60888dd and Dodol/Carousel 7d8c364, serverless.yml in both repositories.

AWS references

Icons from the AWS Architecture Icons package.