Architectural Case Study

E-Commerce Platform with Real-Time Tracking

High-concurrency Node.js retail platform with real-time tracking and Zendesk support

Backend Systems Architect & Team Lead
Led 25-person engineering team (3 UI/UX, 3 FE, 4 BE, 2 DevOps/SRE, 3 Flutter, 4 QA, 1 PM, 1 BA)
2022-2023
System Specification // ECOMMERCE-PLATFORM-REALTIME-TRACKING
PRODUCTION ARCHITECTURE
Architectural Mandate & Scope

Architected a high-concurrency retail platform featuring distributed checkout, real-time inventory locking, and live shipment tracking. The system normalizes third-party carrier webhook streams, delivers live status updates via WebSockets, and synchronizes real-time order context directly into Zendesk for customer support operations.

Quantified Telemetry & Performance Baselines
inventory Accuracy
100% double-sell prevention under flash sales
tracking Latency
Sub-second webhook ingestion & WebSocket dispatch
support Sync
Automated Zendesk customer order history context
platform Uptime
99.9% uptime during peak holiday campaigns
Engineered Technology Stack
Node.jsExpressPostgreSQLApache KafkaRedisBullMQWebSocketsAWS S3Zendesk APIDockerFlutter
Topology:Distributed Systems
Deployment:High-Growth Retail & Logistics Platform
Cycle:12 months end-to-end delivery
Leadership & Engineering Organization

Engineering team structure and leadership.

How the engineering organization was structured, staffed across disciplines, and directed through delivery.

Leadership Mandate
Backend Systems Architect & Team Lead
25-Person Engineering Team Guided by Yogesh
Cross-Functional Discipline Matrix
7 Specialized Functional Pods
Backend & Inventory Architecture4 Backend Engineers

Node.js microservices, PostgreSQL transactional orders, and Redis/BullMQ distributed locking

Mobile Applications3 Flutter Engineers

Consumer shopping application and live interactive shipment tracking maps

Web Storefront Engineering3 Frontend Engineers

Responsive web checkout, product catalog, and real-time WebSocket client updates

Product UI/UX Design3 Designers

End-to-end checkout flow optimization, design tokens, and live delivery status UI

DevOps & SRE2 SREs

AWS ECS cluster, Redis cluster management, Kafka brokers, and automated CI/CD pipelines

QA & Flash-Sale Load Testing4 QA Engineers

Distributed load testing, payment failure simulations, and order state transition testing

Product & Logistics Analysis2 PM / BAs

Carrier API mapping, logistics webhook specifications, and Zendesk support workflow design

Direct Architectural Contributions & Critical Paths
Personally Engineered & Directed
01

Led backend architecture and guided a 25-person multidisciplinary team across backend, Flutter mobile, web, DevOps, and QA

02

Architected distributed inventory locking with Redis and BullMQ, eliminating race conditions and double-selling during flash sales

03

Engineered the carrier webhook ingestion pipeline with Apache Kafka, normalizing erratic logistics data into unified event streams

04

Built a low-latency WebSocket layer dispatching real-time parcel tracking events directly to consumer web and mobile apps

05

Integrated Zendesk REST APIs with real-time order contexts, equipping support agents with live delivery milestones and courier telemetry

System Benchmarks & Outcomes

Measured operational outcomes.

Concrete reliability benchmarks and performance metrics delivered to production.

Metric 01
100% double-sell prevention under flash sales

Inventory Accuracy

Metric 02
Sub-second webhook ingestion & WebSocket dispatch

Tracking Latency

Metric 03
Automated Zendesk customer order history context

Support Sync

Metric 04
99.9% uptime during peak holiday campaigns

Platform Uptime

Technical Execution

Architectural decisions & implementation.

Target Architecture & Implementation

How the system was designed, structured, and deployed

Restructured the backend into a modular service topology using Node.js and Express. Implemented distributed inventory locks using Redis and BullMQ to guarantee serializable order reservations before database commit. Designed an ingestion pipeline using Apache Kafka to buffer and normalize carrier tracking webhooks, broadcasting live status changes to client apps via WebSockets and push notifications. Built a bidirectional Zendesk integration that automatically injects real-time shipment milestones, order items, and courier notes into support agent workspaces.

System Component & Infrastructure Ledger

Detailed breakdown of runtime dependencies, protocols, and architectural roles

10 Core Subsystems
01
Node.js and Express services

Organized in a modular monorepo

02
PostgreSQL

ACID transactional order and payment processing

03
Redis and BullMQ

Distributed locks, rate limiting, and job queues

04
Apache Kafka cluster

Resilient event streaming and webhook buffering

05
WebSocket gateway

Low-latency client status updates

06
AWS S3

Secure storage of customer invoices and packing slips

07
Zendesk REST API webhook integration

Live support agent context

08
Flutter cross-platform mobile client

IOS and Android

09
Docker and AWS ECS

Containerized service deployments

010
Firebase Cloud Messaging (FCM) and Apple APNs

Delivery push notifications

"The architecture handled our biggest sale days without a single double-allocation. Integrating real-time tracking directly into our Zendesk setup eliminated the blind spots our customer support team dealt with for months."
Ho
Head of Product & Operations

High-Growth Retail & Logistics Platform