“APISIX is fully open-source with a robust ecosystem, enabling seamless traffic recording and management without impacting user experience.”
Zemiao Yang
,
Backend Engineer at Tencent Timi Studio Group
and 3 million concurrent online users
is operated stably an effortlessly
TiMi is a subsidiary of Tencent Games and the developer of several popular mobile games, including Call of Duty: Mobile, Pokémon Unite, Arena of Valor, and Honor of Kings.
Honor of Kings is one of the world's most popular MOBA mobile games. As of December 2023, it has recorded up to 160 million daily active users, 3 million concurrent online users, over 3.8 billion downloads, and over 300 million registered users. In May 2017, it topped the global mobile game revenue chart.
It encountered several technical challenges while building its business-oriented API gateway.
The Tencent Timi Studio Group developed a customized API gateway based on APISIX, TAPISIX, adding a series of plugins designed for their internal technical environment.
APISIX provides features: routing, rate limiting, load balancing, service discovery, and observability, offering end-to-end API management capabilities. Timi can use APISIX to manage APIs' entire lifecycle, improving API management efficiency and standardization.
APISIX integrates seamlessly with Kubernetes, which perfectly suits Tencent Timi's environment. Besides, thanks to the scalability of APISIX, Timi can customize its own API gateway based on APISIX by adding a series of plugins designed for their internal technical environment.
Timi's overseas business infrastructure requires frequent migrations, and all data and components must be migratable. APISIX's architecture and features align with this requirement, allowing Timi to easily migrate its API gateway services during overseas business transitions without impacting existing services.
As a top-level project under the Apache Software Foundation, APISIX boasts a large and active open-source community. Timi can leverage the community's resources, such as documentation, tutorials, and plugins, to start APISIX quickly.
Tencent Timi has successfully deployed APISIX by utilizing the standalone mode, which eliminates reliance on etcd, making it suitable for overseas scenarios where some cloud providers do not offer etcd services.
The official APISIX Helm Chart templates Kubernetes configuration files, significantly simplifying configuration management.
The team has achieved comprehensive end-to-end observability across their entire system, including metrics and log collecting, tracing, and monitoring. It helps the team quickly identify and resolve issues, ensuring the smooth operation of their services.
APISIX는 active-active 아키텍처 하에서 서비스 품질을 크게 향상시키는 데 큰 도움을 주었습니다. 완벽한 모니터링 기능은 문제 해결을 효과적으로 지원했으며, 서비스 목록 업데이트도 매우 간편해졌습니다.
주요 게이트웨이 제품들을 비교한 결과, Apache APISIX의 응답 지연 시간이 다른 게이트웨이보다 50% 이상 낮은 것으로 나타났습니다. 또한, Apache APISIX는 CPU 사용률이 70%를 초과하는 상황에서도 안정적으로 작동할 수 있습니다.