Sheet 04 / 06
Serverless Order Processing
Serverless, event-driven order pipeline on three clouds: a validated baseline on AWS, a validated variant on GCP and an implemented variant on Azure.
- Status
- Experimental
- Type
- Technical project · Event-driven architecture
Architecture
Problem
Processing orders with decoupled services and asynchronous messaging, with no servers to manage.
Architecture
One pipeline in six stages (ingress, queue, processor, store, notifier and notification), with one implementation per cloud:
- AWS (validated baseline): Amazon API Gateway, Amazon SQS with a dead-letter queue, AWS Lambda, Amazon DynamoDB (with Streams) and Amazon SNS.
- GCP (validated variant): Cloud Run, Pub/Sub, Firestore and Eventarc. Manual deployment and verified teardown.
- Azure (implemented variant): Azure Functions, Service Bus and Cosmos DB (Change Feed). Ephemeral Terraform deployment and an HTTP and queue smoke test (202 for a valid order, 400 for an invalid one).
Goals: event-driven architecture, serverless processing, cloud integration, asynchronous messaging and decoupled services.
Status
All three variants are implemented and were deployed ephemerally; the evidence for each differs and the repository does not claim full conformance with the order contract. It is a technical project, not a production product.
Stack
- Amazon API Gateway
- Amazon SQS
- AWS Lambda
- Amazon DynamoDB
- Amazon SNS
- Cloud Run
- Pub/Sub
- Firestore
- Azure Functions
- Service Bus
- Cosmos DB