Member-only story
AWS Serverless and Microservices — Part 1
Microservices and Serverless are two of the hottest and trending topics in the current IT industry. Designing Microservices applications has always been a challenge and with Serverless added, it becomes more difficult and needs a different thought process all together.
The purpose of this Blog Series is to understand the various Architecture Patterns available when working with Microservices using the Serverless ecosystem.
Part 1(This blog) — How to structure Microservices using AWS Serverless stack and using Synchronous Request-Response pattern with API Gateway and Lambda
Part 2 — Covers Designing of Asynchronous event submission using API Gateway, SQS and Lambda. And how to implement Saga Orchestration Pattern with Serverless Step Function service.
Part 3 — Covers approach of sending the status of asynchronous task submission, in our case New Food Order Placement, to the client.
Part 4 — Covers Placing New Food Delivery Order using Choreograph Saga Event Driven Pattern.
Part 5 — Using Serverless stack for designing Notification Service.
Let’s jump in — Team XYZ wants to build a food delivery platform (YAFDP — Yet Another Food Delivery Platform). Using Domain Driven Design approach — they have come up with few of the services (just for reference purpose) having a well-defined boundary context —
- Order Service
- Restaurant Service