API7 API Gateway Performance Benchmark: P99 = 2.3 ms & 160k QPS

API7 Enterprise is a full API lifecycle management solution based on Apache APISIX. It seamlessly integrates with DevOps and CI/CD workflows, providing excellent product performance and security, while supporting enterprise-level deployment requirements across regions.

We provide detailed performance benchmark tests and performance testing suites to help users conduct performance evaluations and obtain specific, reliable, and feasible data metrics. Additionally, we offer standardized testing procedures, methods, and performance optimization techniques to ensure that users can achieve consistent test results by taking our configurations and scenarios references.

We conducted targeted tests on key features such as single routing, multiple routing, authentication, and rate limiting. The test results demonstrate that API7 Enterprise performs exceptionally well in critical metrics such as concurrent requests and response latency, easily handling high-concurrency access and safeguarding enterprise-level API management.

Performance Testing Benchmarks

The tests were conducted in an AWS Kubernetes environment and comprehensively evaluated the performance of API7 Gateway in several typical scenarios, including that with no plugins enabled, with only rate limiting or authentication plugins enabled, and with multiple plugins enabled simultaneously.

To accurately evaluate the performance metrics of API7 Gateway, we first conducted baseline tests and collected the results. In the baseline tests, we deployed API7 Gateway with 1 worker_process, NGINX upstream, and the load testing tool wrk on the same machine, using the host network mode for communication. Detailed results can be found in How to Establish Performance Benchmarks. Under the interference of a networkless environment, API7 Gateway achieved a single-core QPS (queries per second) of 23,652.91 and maintained a latency of less than 0.1 milliseconds in a single routing configuration.

Subsequently, we changed the deployment architecture to simulate the deployment method in a user’s production environment. Specifically, we deployed API7 Gateway, NGINX upstream, and the load testing tool wrk on different nodes within a Kubernetes cluster.

The test results show that in a scenario configuring with a single routing, API7 Gateway can support a QPS of up to 167,019.37 requests per second, with 95% of the client request latency below 2.16 milliseconds. Even in complex scenarios with 100 routes and 100 consumers, and with authentication and rate-limiting plugins enabled simultaneously, the QPS still reaches 133,782.95, with 95% of the client request latency below 2.3 milliseconds.

This data fully demonstrates that API7 Gateway can maintain high performance and stability even in complex scenarios. Whether in basic or complex scenarios, API7 Gateway can provide efficient and reliable API management services.

Performance Benchmarking Results

Test ScenariosNumber of Routes/ConsumersForward to UpstreamQPSP99 (MS)P95 (MS)
Only enable mocking plugin1 route, 0 consumerFalse310,392.071.161.08
No plugins enabled1 route, 0 consumerTrue167,019.372.32.16
No plugins enabled100 routes, 0 consumerTrue162,753.172.312.16
Only enable limit-count plugin1 route, 0 consumerTrue145,370.102.432.24
Only enable limit-count plugin100 routes, 0 consumerTrue143,108.402.452.25
Only enable key-auth plugin1 route, 0 consumerTrue147,869.492.412.22
Only enable key-auth plugin100 routes, 0 consumerTrue145,070.932.432.25
Enable both key-auth and limit-count plugins1 route, 0 consumersTrue136,725.472.432.26
Enable both key-auth and limit-count plugins100 routes, 0 consumerTrue133,782.952.482.3

Deployment Topology

Typology of Deployment

Performance Testing Suite

We recognize the importance of performance for an API gateway, so we will continue to optimize and improve the performance of API7 Enterprise. In addition to referring to the Performance Testing Benchmarks, you can also access the publicly available Performance Benchmark Repository for API7 Enterprise. This repository provides detailed records of the resource deployment configurations used for testing and specific configuration information for various test scenarios. Through this repository, you can conduct performance benchmark testing on the API7 Gateway based on the provided guidelines to gain a more comprehensive understanding of its performance.

Before conducting the tests, we strongly recommend ensuring that the Performance Baseline you are testing is consistent with the officially published testing conditions to ensure the accuracy of the test results. For environment preparation and detailed testing steps for AWS EKS, we recommend referring to the document How to Prepare for the AWS EKS Environment, which includes detailed environment preparation and testing steps. With the provided performance testing benchmarks, the related repository, and testing guidelines, we believe you will be able to better evaluate the performance of API7 Enterprise and make more informed decisions.

Benefits of Performance Test Reports

Performance testing benchmarks provide comprehensive performance references for enterprises in selecting, deploying, and optimizing API7 Enterprise, serving as an important basis for ensuring stable system operation. They showcase specific performance metrics of the product in aspects such as response time, throughput, and concurrent access capability, helping enterprises objectively assess whether the product can meet their business needs.

Additionally, the data in performance testing benchmarks provides reliable guidance for enterprises to plan the hardware resource configuration and cluster scale of API7 Enterprise. These benchmarks can help enterprises identify system bottlenecks in advance and formulate response measures to avoid business interruptions.

Embark on a Journey with API7 Enterprise

API7 Enterprise provides comprehensive digital tools and solutions to help enterprises easily achieve business digitization. It enables unified data management and analysis, offers visualized business processes and collaborative work functions, and possesses robust security and compliance controls.

API7 Enterprise supports flexible deployment methods and seamlessly integrates with existing IT infrastructure. With its powerful features and wide range of application scenarios, enterprises can enhance their competitiveness and adaptability, opening the door to a better digital future.

Experience API7 Enterprise now and embark on your digital transformation journey!


Discover more from Coursity

Subscribe to get the latest posts sent to your email.

Leave a Comment

Your email address will not be published. Required fields are marked *

Discover more from Coursity

Subscribe now to keep reading and get access to the full archive.

Continue reading

Scroll to Top
Privacy, cookie & data policy.