MQTT builds an interactive channel between the operating platform and the game terminal

 

client needs:

Scenarios such as operating news and advertising push in the operating platform, such as:

• All kinds of server operation and maintenance upgrades and other marquee information;
• Accounts are kicked offline information;
• Floating window advertisements;
• General message push

News is actively pushed by the platform. When the game access point is close to one million or ten million, how to choose a safe, stable, and reliable connection method is a headache. The characteristics and requirements of operator push are as follows:

1. Mass user reach: The total number of customers of a successful game often exceeds one million or ten million. The number of daily active and simultaneous online is huge;

2. The timeliness of the messages are different : some messages are effective within a certain period of time (for example, the main game server operation and maintenance upgrade notification), regardless of whether the customer is currently online or not, they need to be received when the game is online. Some messages are only meaningful for customers who are currently online (for example, account kick-off information).

3. Accurate message delivery : The message broadcasts to a certain type of customer group (for example, different advertisements push different levels of game players)

4. Lightweight connection consumption : Compared with the control of the game itself, the interaction of this type of data is not very frequent. It requires the link to occupy as little client operating resources as possible.

5. SDK relies on simple resources : In the game field, the R&D team will generate the game master package, and the operating publisher will embed the SDK package required for operation on the basis of the master package, including payment functions and data push functions; then The smaller the resource package that the push function itself depends on, the better.

solution:

The Alibaba Cloud Micro Message Queue MQTT version product is used to realize the promotion and operation functions of the platform. The Micro Message Queue MQTT version has a very simple protocol, supports various language SDKs, has simple access features, supports various subscription relationships, and supports configurable The message touches the quality of QOS, and the connection of the client can be observed, supporting millions of connections, which fits the scenario of promoting the operation platform.
image.png

Business value:

Stable support for business changes and development: After using the MQTT version of the micro-message queuing solution, the elastic availability of resources on the cloud is fully utilized. While the volume of our game customers will change with the game's popularity, it is very Stably supports the tidal changes of the business.

Reasonable technology selection simplifies the work: After  using the commercial micro message queue MQTT version solution, the complicated link and subscription relationship and push issues are all transferred to the micro message queue MQTT version, which simplifies the construction, operation and maintenance of infrastructure, and can Devote all your energy to the realization of the business.

Customer testimony

"The micro-message queue MQTT version is a product with a small resource occupation, a large number of connections, and a simple maintenance. It is especially suitable for our kind of game third-party operation push application that uses the SDK to access. After comparing the http polling and socket solutions, The MQTT solution is still the best choice. Using Ali’s commercial products, apart from worrying about stability, it also highly flexibly matches the large-scale changes of our game customers, allowing us to enjoy the convenience and happiness brought by technology." ——Shangmi Technical Leader

Alibaba Cloud has specially set up the "Internet Architecture Upgrade Practical Course" DingTalk Group, which invites an Alibaba Cloud expert to live broadcast industry best practices in the group every week and share cutting-edge dry goods in the industry every day. Welcome to scan the code or Dingding search group number to join : 35712134.

Guess you like

Origin blog.csdn.net/weixin_39860915/article/details/109643703