Skip to main content

ikwukao

Flux-Gateway

A high-performance, fault-tolerant API Gateway and Reverse Proxy engineered in Go to protect downstream microservices from traffic spikes and cascading network partitions.

Overview

Architecture, goals, and implementation.

Overview

Flux-Gateway is a high-performance API Gateway and Reverse Proxy built in Go from scratch to safeguard downstream microservices from traffic spikes and cascading network partitions.

Engineering Highlights

  • Engineered an in-memory, thread-safe Circuit Breaker using Go sync.RWMutex primitives.
  • Reduced failed-request latency from a 2000ms TCP connection timeout to less than 0.4 milliseconds through automated fail-fast edge boundaries.
  • Built a low-latency traffic-policing tier using atomic Redis Lua script execution to prevent race conditions across multi-node scaling contexts.
  • Validated the traffic-policing layer under a simulated load of 14,200 requests per second.
  • Integrated concurrent background health probers using context.Context timeout handles to actively evaluate upstream cluster degradation.
  • Implemented automated circuit-state transitions based on upstream health.
  • Added a decoupled telemetry interface at :8090/metrics.
  • Exported Prometheus RED metrics for application observability and p95/p99 latency analysis.
  • Practiced table-driven TDD alongside the native Go race detector.
  • Used Miniredis in-memory mocks for deterministic Redis testing.
  • Established a GitHub Actions quality gate requiring a minimum of 70% code coverage.

Engineering Focus

Reliability · Concurrency · Fault Tolerance · Traffic Control · Observability · Testing

Status

Flagship Project

Started

August 2026

Reading Time

1 min

Explore Project

Source code and live deployment.

ikwukao

Backend • Distributed Systems • Platform Engineering

I design and build reliable backend systems, distributed platforms, cloud-native infrastructure, and developer tooling with Go, Python, Linux, Kubernetes, and modern DevOps practices.

Building reliable systems from Nigeria · GMT+1

Explore

Connect

© 2026 Ikwuka Okoye. All rights reserved.

Built with Hugo, Tailwind CSS & Go-inspired simplicity.