DEV Community

Discussion on: AWS Step function vs. AWS Lambda benchmark

Collapse
 
sirmomster profile image
M. Mitch

It's an interesting article, thanks for sharing it.

I was just wondering about something, did you use step functions in an asynchronous way and lambda synchronous from API gateway?

Collapse
 
cremich profile image
Christian Bonzelet

Thanks for the feedback @sirmomster
I will give the article an update to be more precise in the general setup section.

Yes, like @gerardketuma already wrote: both lambda and the state machine are executed synchronously. In this case I used an express state machine.

Collapse
 
gerardketuma profile image
Gerard Ketuma

Looking at the codebase, it is an Express state machine executed synchronously:

github.com/cremich/aws-sf-lambda-b...
github.com/cremich/aws-sf-lambda-b...

Also lambda is executed synchronously.