DEV Community

Discussion on: Watch Deconstructing The Destined Lambda on Youtube today! AWS Lambda, API Gateway, Destinations and EventBridge

Collapse
 
starpebble profile image
starpebble

This is encouraging! I wish there was more information about how this pattern evolved.

The destined lambda pattern capabilities are explained well, addressing reliability and beautifully separating code into smaller lambda functions. IMHO, that's why the pattern is interesting to discuss. The asynchronous lambda is really different. The payload limits are different too.

Collapse
 
nideveloper profile image
Matt Coulter

Usually when I add a pattern I have loads of proven source material from AWS Heroes. On this one, I just made the connection myself so you’re right to do it justice it probably needs a detailed blog post on the theory behind it, the advantages, the disadvantages etc

Collapse
 
starpebble profile image
starpebble

Stupendous! The details just may help me understand where the pattern belongs. The pattern probably evolved, how did the lamdba destined pattern exactly evolve from the aforementioned stuff? I still wonder.

Thread Thread
 
nideveloper profile image
Matt Coulter

To give a quick answer on where it evolved. I created the EventBridge ETL pattern (github.com/cdk-patterns/serverless...) which uses EventBridge and Lambdas for extracting, transforming and loading data from s3 to DynamoDB. The vast majority of the logic in the Lambda functions is for processing events from and sending events to EventBridge so the ability to reduce that code was what I went looking for. Lambda Destinations is an answer to that.

Thread Thread
 
starpebble profile image
starpebble

It's nice code. Looks like it will launch a stack instantly. Interesting roots, etl. I'm fiddling with different patterns to replicate one set of DynamoDB tables to another set and most etl patterns use S3 for millions of bytes.