API Portal: Connect, Analyze, and Monetize your APIs like never before!Learn More

Learn More

Discover Value of Games, Make Happiness Possible

As of May 2021, the Tencent OTeam using Apache APISIX has already deployed it for more than 10 teams within Tencent, with the largest project handling over 1 billion daily requests.

Xu Xin

,

Senior Software Engineer at Tencent Games

Tencent Games

Support > 10 projects

within Tencent Games

Handle > 1 billion requests

in daily peak hours

Start for Free

Challenges

As a leading global game development and operation subdivision of Tencent, Tencent Games connects over 800 million users worldwide. To integrate the repeated wheels within the company, Tencent formed OTeam to consolidate similar technical products and solidify an all-in-one technical platform.

While pushing forward the OTeam initiative, Tencent Games encountered many problems and wants to solve them through APISIX. For example:

  • The cumbersome and developer-unfriendly RPC framework added significant complexity to the development and integration processes.

  • Multiple service centers, such as CL5, L5, and Polaris, required a seamless transition and unification to streamline operations.

  • A reliable and user-friendly alerting solution was essential to address the shortcomings of the existing multi-alerting system.

  • Users encountered a variety of network attacks, including DDoS, replay, and request tampering, posing substantial security challenges.

Solution

Leveraging the flexible plugin mechanism of APISIX, Tencent Games integrated and interconnected with the internal monitoring systems. The alerting management became simple and convenient as users can get monitoring logs and set alerts by simple configurations.

Tencent Games also achieved effortless conversion between the TRPC and TARS RPC protocols through APISIX's plugin, but the team has to develop custom middleware services to bridge the gap.

Competitive Edge of Our Solution

High Performance

Apache APISIX is famous for its high performance and low latency. Built on top of NGINX and LuaJIT, Apache APISIX supports a single-core QPS of 23,000 with an average delay of only 0.6 milliseconds. These features make APISIX an ideal choice for applications that require low latency and high throughput, such as microservices and real-time data processing.

Hot Reloading

Taking etcd as the configuration center, Apache APISIX is lightweight in structure. It provides a reliable and consistent data storage solution, enabling APISIX to easily handle dynamic configuration changes and high availability requirements. Users can realize real-time updates without reloading the system and causing any downtime by using APISIX.

Open-Source Plugins

APISIX boasts a robust ecosystem of open-source plugins that can address diverse requirements. For example, the protocol conversion plugin can effectively solve the need to convert protocols through intermediate services, allowing users to directly leverage the built-in plugin to convert HTTP and RPC protocols within the API gateway seamlessly.

Results

Seamless Protocol Conversion

After using Apache APISIX, Tencent Games implemented seamless protocol conversion between the TRPC and TARS RPC protocols. Leveraging APISIX's protocol conversion plugins, the team no longer needed to develop dedicated intermediate services for handling the translation between HTTP and RPC protocols. This simplified their architecture and reduced the overall complexity of their system.

Integrated Monitoring

In the process of building OTeam, Tencent Games utilized the APISIX plugins to integrate and connect with several of Tencent's core monitoring platforms. Even users from business projects without technical background can now easily configure the system to automatically report observability data, including tracing, logging, and metrics, for their APIs, and subsequently set up alerts on the monitoring platforms. This streamlined approach has significantly reduced the time and effort required.

Improved Security

Tencent Games has developed anti-replay attack and anti-tamper security plugins, providing out-of-the-box protection measures for projects that require such capabilities, effectively safeguarding the security of these APIs. The team also embedded the internal API specification requirements into the APISIX gateway, simplifying the development and deployment process and providing centralized control and visibility over the API landscape.

More Customer Stories

Elevate AI Model Development with Machine Learning

Elevate AI Model Development with Machine Learning

As a mature and out-of-the-box API gateway, APISIX helps us with high development efficiency. From starting from scratch to passing POC, it only took us one week.

Read More
Build a Diverse Content Social Media Platform

Build a Diverse Content Social Media Platform

To fix the problem of inconvenient service management and costly R&D investment, we introduced APISIX as our API gateway. APISIX's dynamic performance with etcd aligns most with Beeto's product requirements.

Improve Global Quality of Life

Improve Global Quality of Life

API7 Enterprise helps Hisense to build an integrated platform to connect factories and applications distributed around the world.

API7.ai Logo

API Management for Modern Architectures with Edge, API Gateway, Kubernetes, and Service Mesh.

Product

API7 Cloud

SOC2 Type IRed Herring

Copyright © APISEVEN Ltd. 2019 – 2024. Apache, Apache APISIX, APISIX, and associated open source project names are trademarks of the Apache Software Foundation