Enrico Portolan
Aug 11, 2022

--

Hi Enrico, thanks for the question.

I used an additional Lambda because I wanted to separate responsabilities in the service. The first Lambda should only check if the circuit is open or not and send back the response to the client. The second Lambda will take care of adding an item in Dynamo if needed.

I hope it makes sense.

--

--

Enrico Portolan
Enrico Portolan

Written by Enrico Portolan

Passionate about cloud, startups and new technologies. Full-stack web engineer

No responses yet