GigaOM recently released a performance review report on API Gateway. The report mainly describes the performance difference between API7 (based on Apache’s top project Apisix enterprise version) and Kong EE (Kong enterprise version) under different stress scenarios. The results show that API7 performance is significantly better than Kong EE, up to hundreds of times the difference.

We excerpted the test scenarios and data from the full report:

  1. 10 thousand RPS pressure test, 1 route, no plug-in enabled
  2. 10,000 RPS crush test, 1 route, JWT plug-in enabled
  3. 10,000 RPS of pressure test, 1000 routes

In the diagram below, the abscissa represents the percentage distribution of requests and the ordinate represents the number of milliseconds delayed. So, the lower the latency the better, the more stable the better. This means that the gateway can process terminal requests stably and efficiently.

The figure below compares the latency of Apisix and Kong Enterprise Edition without any plug-ins enabled. The difference is small for 95% of requests, but after 95% the latency difference then increases exponentially, reaching 99.99%, with Kong EE having more than 30 times the latency of API7.

The abscissa represents the percentage of requests distributed, and the ordinate represents the number of milliseconds delayed, with a lower value indicating better performance.

With the JWT plug-in enabled, the performance gap between API7 and Kong EE widened even further: Kong EE had a maximum latency of 3778 milliseconds and was unavailable, while API7 had a maximum latency of 14 milliseconds, a difference of hundreds of times.

The abscissa represents the percentage of requests distributed, and the ordinate represents the number of milliseconds delayed, with a lower value indicating better performance.

Both scenarios have only one route. In a user’s actual production environment, there are usually hundreds or thousands of routes. So, the following test covers 1000 routes. In this scenario, the gap between Kong EE and API7 is also close to 100 times.

The abscissa represents the percentage of requests distributed, and the ordinate represents the number of milliseconds delayed, with a lower value indicating better performance.

API7 maintains low latency and stability in a variety of test scenarios, which is particularly critical for enterprise users.

Apache APISIX

Apache Apisix is a new generation of cloud-native API gateway that provides a wealth of traffic management capabilities such as load balancing, dynamic upstream, grayscale publishing, service fusing, authentication, observability, and more.

The diagram below shows the architecture of Apisix

API7 is a commercial product of Shenzhen Branch Technology based on Apache Apisix. In addition to the basic functions mentioned above, API7 also realizes the functions of multi-cluster management, multi-work partition, authority management, version management, audit, statistics and so on for enterprise users.

Who is using Apisix

Apache Apisix is already used by hundreds of enterprise users around the world to handle core business traffic, including financial, Internet, manufacturing, retail, carrier and many other industries.

Contact us

Apache APISIX Github:https://github.com/apache/apisix

API7 website: https://www.apiseven.com/zh

Follow the official account [Apisix Cloud Native Microservice Gateway] and fill in the information to get the complete report.