Sohail.dev
Pipeline SchematicTopology v2.4
IN
Ingress
Webhook API
AI
Engine
Gemini / REST
OUT
Egress
Chromium / DB
Status: Operational (99.99%)Cluster: Node-01
Broker Pub/Sub TopologyPub/Sub SpecIngestion buffer to consumer groups and Celery worker workers.
End-to-End Orchestration Pipeline
5-Node Sequential Flow
01

API Ingestion

Edge entry routes

Next.js / Node
02

Redis Stream

Durable log append

Redis In-Memory
03

Consumer Groups

Load-balanced dispatch

Redis Consumer
04

Worker Fleet

Background processing

Celery / Docker
05

DLQ Failover

Dead-letter retry queue

Dockerized Queue
Broker Latency1.4msAverage Redis stream append
Reliability99.99%Zero dropped event records
Consumer Groups4 GroupsParallel isolated worker pools
Docker SwarmContainerizedIndependent scalable services
Core ArchitectureProduction Grade

Distributed Async Event Bus & Broker

Microservice Event Broker & Dead-Letter Queue

What Is It ?

Engineered to decouple critical microservice boundaries, this broker guarantees message delivery under high load spikes while preventing cascading failure states across backend tiers.

System Architecture & Flow

Edge API endpoints publish state events directly to Redis Streams with sub-millisecond append times. Partitioned consumer groups balance event distribution across horizontally scaled Celery worker containers. Unhandled failures undergo exponential backoff before being isolated into dead-letter queues with incident telemetry.

Key Features

  • Sub-millisecond event ingestion into durable Redis Streams.
  • Partitioned consumer groups for concurrent horizontal worker processing.
  • Automated exponential backoff retries with dead-letter queue (DLQ) routing.
  • Dockerized container isolation with strict environment parity.
  • Prometheus & live telemetry logging hooks for cluster visibility.

Tools & Technologies

Next.jsTypeScriptRedis StreamsDockerCelery WorkersPythonFastAPI
Muhammad Sohail Shahzad

Based in Lahore, Pakistan 🇵🇰•Independent Full-Stack & AI Engineer

Built with Next.js 16, React 19, TypeScript & Tailwind CSS.

Deployed on Vercel

© 2026 Sohail. All rights reserved.