Kong OSS vs Apache APISIX: Benchmark on Dedicated Servers
We load-tested Kong OSS 3.9.4 and Apache APISIX 3.19.0 with the same plugin chains on dedicated 4 vCPU servers. Here is what we found, and what the numbers cannot tell you.

TL;DR
We ran Kong OSS 3.9.4 and Apache APISIX 3.19.0 with the same plugin chains on a dedicated 4 vCPU server, at 1,500, 3,000 and 6,000 requests per second. At default settings, APISIX was faster or tied in every latency comparison, and it used less CPU and memory.
| Measure, full plugin chain | Kong OSS 3.9.4 | APISIX 3.19.0 |
|---|---|---|
| p99 at 1,500 RPS | 2.63 ms | 2.22 ms |
| p99 at 3,000 RPS | 37.5 ms | 12.1 ms |
| Failed requests at 6,000 RPS | 19 to 20% | 0% |
| CPU per request | 1.03 ms | 0.34 ms |
| Gateway memory | 491 MB | 182 MB |
What mattered most:
- At 1,500 RPS the choice barely shows. The largest p99 gap on any chain was about 1 ms.
- The gap opens as load rises. At 3,000 RPS, Kong used 3.07 of 4 cores on the full chain and APISIX used 0.98.
- New routes went live far faster on APISIX: 12 ms against 3.9 seconds, which fits Kong's default 5-second polling.
- Neither gateway failed a request when its config store was stopped for 20 seconds.
- We did not run a long soak or a route-scale test, so this is not a capacity claim.
- Performance is only part of the decision. Patch history matters at least as much, and neither project has a simple story there.
Short on time? The summary above is the whole story. Want the method, the limits and the patch history? Read on.
We ran this test because we could not find one to rely on. The best-known comparison of the two gateways was published by API7, the company behind APISIX, in 2022, and it covers the 3.0 versions. We wanted current versions, real plugin chains and tail latency. The method and the limits are below so that you can judge the numbers for yourself.
The setup

| Item | Value |
|---|---|
| Servers | Three DigitalOcean CPU-optimised droplets, 4 dedicated vCPU and 8 GB each, on one private network |
| Host 1 | k6 load generator |
| Host 2 | The gateways, one at a time |
| Host 3 | Upstream nginx, Postgres, etcd, Redis and a log sink |
| Kong | 3.9.4, Postgres mode, 4 workers |
| APISIX | 3.19.0, etcd, 4 workers |
| Tuning | None. Both ran at default settings in Docker |
We tested four plugin chains, from a bare proxy up to the kind of authenticated, logged route a production API usually has.
| Chain | Plugins |
|---|---|
| Proxy only | None |
| Secured route | JWT, IP restriction, path rewrite |
| Managed API | Key auth, ACL, local rate limit |
| Full chain | Secured route plus TCP logging |
Before measuring anything, we ran 19 functional checks on each gateway to prove that the plugins really worked: requests were rejected, limited and rewritten as expected. Both gateways passed all 19. A benchmark of a plugin that silently does nothing tells you nothing.
How we measured
We used k6's constant-arrival-rate executor. A closed-loop test sends the next request only after the last one returns, so it slows down when the server slows down, which hides the very latency you are trying to find. An open model keeps sending requests on schedule.

The other rules were simple:
- Three runs of every combination, with the gateway order alternated between runs.
- A 10-second warm-up discarded before each 45-second measurement.
- A control with no gateway at all. We measured the upstream directly at each rate and subtracted that from each gateway's p99, which gives the latency the gateway added.
- A run counted for latency only if under 1% of its arrivals were dropped. 78 of 81 runs qualified.
- A gateway led a comparison only if every run beat every run of the other by more than 10%. Anything less was a tie.
The whole matrix took about 80 minutes.
Results

Across the 12 combinations of rate and chain, APISIX led 9, three were ties, and Kong led none.

The direct control's p99 was 0.59 ms at 1,500 RPS, 0.58 ms at 3,000 RPS and 8.73 ms at 6,000 RPS. That jump at 6,000 RPS means small differences at that rate are noise, which is why the Proxy only chain counts as a tie there. Read 6,000 RPS for failures and large gaps only.
CPU told the same story, and it is the number we trust most because it barely moved between runs at the same rate.

Route propagation and memory were further apart than we expected.

With the config store stopped for 20 seconds, neither gateway failed a request on existing routes.
Before you quote these numbers
- Logging differs on the full chain. At default settings, Kong's
tcp-logsends per request and APISIX'stcp-loggersends in batches. The two chains without logging point the same way, but the size of the full-chain gap is partly a logging difference. - We did not tune either gateway. Shorter polling would change Kong's route-propagation result, and other settings could change more.
- We did not profile the cause of any gap. We can tell you what happened, not why.
- Each measurement is 45 seconds. We did not run a 60-minute soak, so memory growth and sustained capacity are unknown.
- We did not test thousands of routes, and we did not load-test the API-key-only, JWT-only or Redis rate-limit chains.
- The upstream and the config stores shared one host. The gateways had a host to themselves.
These are our numbers, on our rig, with our chains. Your plugins and traffic will give different results.
Performance is not the whole decision
For a gateway that sits in front of everything, the patching story counts at least as much as p99.
Kong's OSS 3.9 line is still receiving releases, but irregularly. The gaps between 3.9.0 and 3.9.4 were 173, 365, 13 and 117 days, according to its GitHub releases.
APISIX moves much faster. Apache's security advisory page listed 26 CVEs numbered 2026 when we checked in November 2026, and this year's fixes arrived in new minor releases about every two months. Staying patched therefore means upgrading across feature releases, on every node you run.
Do not compare those two facts as a score. A high CVE count partly reflects active reporting, and a low one on a slow-moving branch is not proof of safety. They do describe two different kinds of operational work.
If you are comparing gateways yourself
Run the chains you actually use, keep a no-gateway control, and check that your plugins work before you time them.