API Gateway & Microservices

Feature-rich API edge layer supporting JWT auth, request shaping, circuit breakers, and service discovery. Exposes operational dashboards powered by Prometheus and Grafana.

GogRPCPostgreSQLRedisPrometheusGrafana
API Gateway & Microservices preview

API Gateway & Microservices

A performant gateway that orchestrates traffic across a constellation of microservices with strong governance.

Features

  • Authenticates requests using JWT tokens and enforces role policies.
  • Applies rate limiting, quotas, and circuit-breaking at the edge.
  • Handles request/response transformations (REST ↔︎ gRPC) with schema validation.
  • Streams metrics, traces, and structured logs into Prometheus and Grafana.

Implementation Notes

  • Built in Go for lightweight concurrency and minimal latency overhead.
  • Service discovery plugs into Consul; routing tables are cached locally with TTL invalidation.
  • A Lua scripting layer enables dynamic policy adjustments without redeploying.

Setup

  1. Copy
    terminal
    config.example.yaml
    to
    terminal
    config.yaml
    and configure upstream services.
  2. Run
    terminal
    make run
    to start the gateway locally with hot reload.
  3. Use the bundled CLI to register upstream services and configure rate-limiting rules.

Monitoring

Dashboards include latency histograms, request distribution, and breaker trip counts. Alerts fire through PagerDuty when error budgets are threatened.

Project Links
Live Demo
Highlights
  • JWT authentication and authz policies
  • Dynamic routing and request transformation
  • Rate limiting, quotas, and circuit breakers
  • Service discovery integrations
  • Observability dashboards
Key Challenge

Kept p99 latency under 50ms with adaptive caching and parallel gRPC fan-out.

Anant Kumar

Bridging the gap between high-level applications and low-level systems. Crafting resilient software with a focus on performance and observability.

Expertise

  • Systems Engineering
  • Full Stack Development
  • Cloud Infrastructure
  • Digital Signal Processing
  • Embedded Systems

Stay Connected

Open to opportunities and interesting conversations.

Get in Touch

© 2026 Anant Kumar. All rights reserved.

Systems Operational