All projects
E-Commerce

Serverless Event-Driven Inventory System (GCP)

Build a scalable, event-driven backend to handle Flash Sale traffic spikes up to 1M+ concurrent users without over-provisioning.

Our role: Senior DevOps Engineer

The challenge

Previous SQL-based inventory system crashed due to locking under high traffic; needed non-blocking async architecture and scaling to zero.

What Devs & Logics delivered

  • Solution 1: Pub/Sub to decouple checkout and inventory services
  • Solution 2: Cloud Run for serverless autoscaling containers
  • Solution 3: Redis (Memorystore) for hot inventory, Cloud Spanner for transactions
  • Solution 4: Terraform modules + GitOps for IaC

Outcomes

  • Successfully handled 1.2M concurrent users
  • 60% reduction in cloud spend vs previous VM setup
  • Inventory sync errors dropped near zero

Technologies

GCPCloud RunPub/SubCloud SpannerCloud MemorystoreTerraformPrometheus
saas mvp development

Build something similar

We deliver SaaS MVPs, AI products and custom platforms for clients across the United States and worldwide.

Start your project