New

APISIXでAIの未来を解き放つ – AIエージェントとLLMのための完全オープンソースAIゲートウェイ!詳細を見る

詳細を見る

Apache APISIX vs Kong:
93x Faster & 200% QPS

Apache APISIX and Kong are both popular open-source API gateways built on NGINX/OpenResty, but they differ significantly in architecture, performance, and licensing. This page provides a comprehensive, fact-based comparison to help you choose the right gateway for your infrastructure.

Apache APISIX vs Kong API Gateway performance comparison showing APISIX delivers 93x lower latency and 2x higher QPSApache APISIX vs Kong API Gateway performance comparison showing APISIX delivers 93x lower latency and 2x higher QPS

*93x based on maximum latency as measured. Read this for more details.

Why Teams Switch to APISIX

93x lower max latency and 2x higher QPS than Kong in independent benchmarks

Fully open-source under Apache 2.0 — no enterprise paywall for mTLS, OIDC, canary releases, or dashboards

etcd-based architecture — zero database dependency, sub-millisecond config propagation across clusters

80+ built-in plugins with multi-language support (Lua, Go, Java, Python, WASM) vs Kong's Lua-only OSS plugins

AI Gateway ready — native LLM proxy, token-level rate limiting, and multi-model load balancing via AISIX

Try APISIX Free

Looking for the best API Gateway?

Go for Apache APISIX

Community-Driven

Open-Source Project

  • The most active open-source API gateway on GitHub

  • Apache 2.0 License — guaranteed to remain open-source

  • Core, Dashboard, and all 80+ plugins are fully open-source

Ultimate Performance,

High Availability, Stability

  • QPS ~15K per CPU core with 0.2ms latency

  • etcd backend — no relational database dependency

  • Production-proven: 400+ bare metal servers, 1.2M+ QPS at scale

Developer Friendly

  • Write plugins in Lua, Go, Java, Python, or WASM

  • Dynamic configuration — no restarts or reloads needed

  • Active community with monthly releases and fast issue response

Apache APISIX vs Kong: Feature Comparison

Features

Configuration Store

Apache APISIX:

etcd (CP/DP split)

Kong:

PostgreSQL / DB-less

Dynamic Config Reload

Apache APISIX:

check

Kong:

Plugin Count (OSS)

Apache APISIX:

80+

Kong:

~40

Plugin Languages

Apache APISIX:

Lua, Go, Java, Python, WASM

Kong:

gRPC Proxying

Apache APISIX:

check

Kong:

check

gRPC Transcoding

Apache APISIX:

check

Kong:

WebSocket

Apache APISIX:

check

Kong:

check

GraphQL

Apache APISIX:

check

Kong:

MQTT

Apache APISIX:

check

Kong:

HTTP/3 (QUIC)

Apache APISIX:

check

Kong:

mTLS

Apache APISIX:

check

Kong:

check

OpenID Connect

Apache APISIX:

check

Kong:

Kafka Upstream

Apache APISIX:

check

Kong:

Advanced Route Matching

Apache APISIX:

check

Kong:

Canary Release

Apache APISIX:

check

Kong:

Secrets Management

Apache APISIX:

check

Kong:

check

Observability

Apache APISIX:

check

Kong:

Built-in Dashboard

Apache APISIX:

check

Kong:

AI Gateway / LLM Proxy

Apache APISIX:

check

Kong:

ARM64

Apache APISIX:

check

Kong:

check

Kubernetes Ingress

Apache APISIX:

check

Kong:

check

License

Apache APISIX:

Apache 2.0

Kong:

Organization/Company

Apache APISIX:

Apache Software Foundation

Kong:

Kong Inc.

Architecture: etcd vs PostgreSQL

The most fundamental difference between Apache APISIX and Kong is their configuration storage backend. This single architectural choice affects performance, operational complexity, and how your gateway behaves in production.

Apache APISIX: etcd-Powered Architecture

Apache APISIX uses etcd as its configuration store. etcd is a distributed key-value store (the same technology Kubernetes uses) that provides real-time watch capabilities. When you update a route, plugin, or upstream configuration, APISIX data planes receive the change within milliseconds via etcd's watch mechanism — no polling, no cache invalidation, no restarts.

This architecture enables a clean control plane / data plane separation. The data plane (APISIX) has no direct database dependency at runtime. If etcd goes down temporarily, APISIX continues routing traffic using its in-memory configuration. This makes APISIX extremely resilient and easy to scale horizontally — just add more data plane nodes.

Kong: PostgreSQL / DB-less Architecture

Kong traditionally relies on PostgreSQL (or Cassandra, now deprecated) as its configuration store. Configuration changes are written to the database, then propagated to Kong nodes via a polling-based cache invalidation mechanism. The default polling interval is 5 seconds, meaning configuration changes can take several seconds to propagate across your cluster.

Kong also offers a DB-less mode that loads configuration from a declarative YAML file, eliminating the database dependency. However, DB-less mode does not support the Admin API for runtime configuration changes — you must regenerate and reload the YAML file, which is less flexible for dynamic environments.

AspectApache APISIXKong
Config Storeetcd (distributed KV)PostgreSQL / DB-less YAML
Propagation Speed< 1ms (watch-based)~5s default (poll-based)
Runtime DB DependencyNoneRequired (unless DB-less)
Horizontal ScalingAdd nodes, auto-syncAdd nodes + DB capacity
HA Under Store FailureContinues routingContinues with stale cache

Performance Benchmarks: APISIX vs Kong

Independent benchmarks consistently show that Apache APISIX outperforms Kong in throughput, latency, and resource efficiency. Here are the key numbers from our APISIX 3.0 vs Kong 3.0 benchmark conducted on identical hardware:

MetricApache APISIX 3.xKong 3.xDifference
QPS (Requests/sec)~15,000 per core~7,500 per core2x higher
Average Latency0.2ms0.7ms3.5x lower
P99 Latency0.5ms2.1ms4.2x lower
Max Latency2.2ms205ms93x lower
Memory Usage~50MB base~200MB base4x less

Why APISIX Is Faster

Both APISIX and Kong are built on NGINX and OpenResty, so what explains the performance gap? The main factors are:

  • No database queries in the hot path. APISIX routes requests entirely from in-memory data structures synchronized via etcd watches. Kong's traditional mode involves database lookups and cache validation on the request path.
  • Optimized routing engine. APISIX uses a radix tree for route matching, which provides O(k) lookup time (where k is the URL path length). Kong uses a different matching algorithm that can be slower with large numbers of routes.
  • Leaner plugin execution. APISIX's plugin runner is optimized for minimal overhead per request. The 93x difference in maximum latency is largely attributable to Kong's occasional garbage collection pauses and database cache misses.

These differences become more pronounced at scale. In production deployments handling millions of requests per second, the 2x QPS advantage translates directly to 50% fewer servers needed for the same workload — a significant cost saving on infrastructure.

Frequently Asked Questions

Case Studies

Zoom 如何在持续交付管道中使用 APISIX Ingress?

Zoom 如何在持续交付管道中使用 APISIX Ingress?

Zoomは、プロジェクト、アプリケーション、環境、およびインフラストラクチャ管理の全体管理を実現するために、継続的デリバリーパイプラインにAPISIX Ingress Controllerを統合しています。

Read more

right-arrow
iQIYI、Apache APISIXでAPIゲートウェイの革新を実現

iQIYI、Apache APISIXでAPIゲートウェイの革新を実現

iQIYIの技術チームは、APISIXとKongを比較し、iQIYIのインフラストラクチャを更新・統合することで、まったく新しいAPIゲートウェイの構築に成功しました。

API Gateway for Web3: APISIX 如何赋能 Hyperchain

API Gateway for Web3: APISIX 如何赋能 Hyperchain

区块链独角兽公司Hyperchain如何利用开源API网关APISIX,赋能Hyperchain区块链平台管理web3中的区块链流量,并提及APISIX、Kong和NGINX之间的对比。

APIの管理を始めますか?

無料で始める

お問い合わせ