Originally published on Medium on November 11, 2023.
In this guide, we’ll speak about communication in a distributed system using AWS Lambda and NestJS.
Building on our previous exploration, where we integrated NestJS with AWS Lambda and set up debugging and hot reload within Docker, this guide takes the next logical step. We’ll use the same foundational setup and enhance it to enable seamless communication between lambdas.
The approach in this guide is inspired by a past project where I used Dapr with C# microservices. Dapr simplifies the challenges of building microservices. For example, instead of manually setting up communication between services, Dapr provides straightforward methods to do so. This lets developers concentrate on writing the actual functionality without getting bogged down by the technical details of inter-service communication. This Lambda + NestJS communication strategy is deeply inspired by the simplicity and effectiveness of Dapr.
If you’re interested in learning more about Dapr and C#, check out my other repository.







