Polyglot Microservices + WMS
Open-Source Engineering Flagship
Full-Stack & Backend Engineer

StockFlow Engine — Multi-Warehouse Order & Analytics Platform

A high-concurrency multi-warehouse inventory, order checkout, and demand analytics platform built with Next.js 15 (shadcn/ui), Go, Python FastAPI, PostgreSQL 16, and Redis 7 Streams.

StockFlow Engine — Multi-Warehouse Order & Analytics Platform

The Challenge

Concurrent multi-warehouse checkouts and stock transfers easily trigger race-condition overselling, database deadlocks, duplicate orders on network retries, and delayed low-stock visibility.

The Solution & Architecture

Engineered a polyglot architecture pairing a Go ACID transactional core (SELECT FOR UPDATE ordered locking + Redis Idempotency-Key + Streams) with a Python FastAPI forecasting/anomaly worker and a Next.js 15 shadcn/ui operational console.

Interface Screenshots

WMS Command Center — live KPI summary, Stock vs. Reorder chart, hub capacity, and active alert queue
WMS Command Center — live KPI summary, Stock vs. Reorder chart, hub capacity, and active alert queue
Inventory Catalog — category filter pills, live Redis X-Cache inspector, and per-warehouse stock adjustment
Inventory Catalog — category filter pills, live Redis X-Cache inspector, and per-warehouse stock adjustment
Multi-Warehouse Checkout — searchable SKU combobox, Idempotency-Key guard, and verified replay badge
Multi-Warehouse Checkout — searchable SKU combobox, Idempotency-Key guard, and verified replay badge
Demand Forecast & Anomaly Detection — days-of-stock health bars, z-score alerts, and CSV/PDF report exports
Demand Forecast & Anomaly Detection — days-of-stock health bars, z-score alerts, and CSV/PDF report exports

Key Features

Go transactional API with deterministic SELECT FOR UPDATE locking, JWT RBAC, and verified 0-overselling under 50-VU k6 race tests
Redis 7 catalog cache (p95 620us), fixed-window rate limiter, Idempotency-Key deduplication, and Streams event publishing
Python FastAPI analytics engine delivering days-of-stock forecasting, z-score anomaly detection, and authenticated CSV/PDF exports
Next.js 15 + shadcn/ui console verified with ESLint, strict TypeScript, 13 Vitest unit tests, and 3 containerized Playwright E2E flows
Key Outcomes
50-VU k6 Race: 0 Overselling · p95 620µs Redis Cache · Go + FastAPI + Next.js 15 · CI Verified

Looking for a similar custom system for your business?

Let's connect and discuss how tailored web engineering can scale your operations and drive growth.