Every Kong plugin runs in the request path. A chain assembled over two years by different teams can easily add more latency than the upstream service it fronts, and custom Lua plugins making blocking network calls are the usual culprits.
Gateway p99 latency had grown steadily without any single deployment to blame. The plugin chain included several auth-related plugins with overlapping responsibilities, a custom Lua plugin performing a synchronous lookup against an external service, and logging plugins writing to a sink that intermittently backed up.
Kong on Kubernetes in front of payment authorization services with strict end-to-end latency budgets.
AceMQ instrumented the gateway to attribute latency per plugin per phase rather than treating the chain as a single number, then ran controlled comparisons with individual plugins disabled. That separated the plugins that cost real time from the ones that merely looked suspicious.
Gateway-added latency at p99 dropped substantially once the blocking custom plugin was reworked and the auth chain was consolidated, and the team gained a latency budget to evaluate future plugins against.
Designing a Kong topology for a company consolidating several ad-hoc API entry points, including control plane separation and environment promotion.
Tracing intermittent 502s at the Kong gateway to misconfigured active health checks and stale DNS resolution of upstream service names.
Whether you need architecture advisory, 24/7 support, or full managed services, AceMQ has the expertise to help.