AlgoViz

Kong

medium 27 min

Kong Gateway is an API gateway built on NGINX and Lua.

Where it shows up

The same pattern appears across everyday software.

  • Partner API of a shop (our example)

    Each partner is a consumer with a key and a group. ACL opens routes by group, limits differ by contract, and the shop's services only read the consumer header.

  • Splitting a monolith (our example)

    All paths go to the old program first. Path by path, a new route sends traffic to a new service, and clients see one address all the time.

  • One door for mobile apps (our example)

    JWT is checked at the gateway, requests above a size are refused, and a correlation ID follows each request through the logs.

  • Kubernetes

    Kong Ingress Controller and Kong Operator configure the gateway from cluster resources, so teams ship routes together with their service.

  • Konnect

    Kong's hosted control plane runs in hybrid mode: data planes stay in the customer's network or run as managed gateways, and keep serving if the connection breaks.

  • Model traffic

    The open source 3.9 line already bundles AI plugins such as ai-proxy and ai-prompt-guard, which put several model providers behind one interface.