← back to projects

Switchboard Gateway

active
GoPostgreSQLRedisKafkaDockerFastAPI

Switchboard is the API gateway you reach for when Kong feels like overkill and writing your own middleware feels like a trap. It sits between clients and your services, handles the boring stuff, and stays out of the way.

What it does

One process, sub-millisecond overhead, and the things every backend ends up needing.

CapabilityWhat it actually does
AuthenticateAPI keys tied to a consumer record. Every request, every time.
Rate limitPer consumer, per route, per anything else worth bucketing.
CacheResponses in Redis with whatever TTL the upstream deserves.
RouteBy host, path, or method to the right backend service.
ReconfigureHot-reload, no restarts, no dropped connections.

Stack

LayerTech
GatewayGo
Admin APIPython + FastAPI
Admin UIReact
StatePostgreSQL
Cache + countersRedis
Async eventsKafka

Why I’m building it

I keep ending up in projects where someone has glued together nginx, a hand-rolled auth filter, and a Redis script for rate limiting. It works until it doesn’t, and then nobody can debug it. I wanted to write the gateway I keep wishing existed: small enough to read, fast enough to forget about, and configurable without redeploying.

The whole stack runs out of one docker compose up. That part matters more than it sounds.