Structuring the Backend Service Architecture of a Mobile Card Game

简介: 2014 saw the rise of intense action mobile card games, and 2015 ushered in the age of real-time battles.

Abstract: 2014 saw the rise of intense action mobile card games, and 2015 ushered in the age of real-time battles. Meanwhile, card games will face a strong challenge from intense mobile games. Confronted with the surging popularity of RPG games, mobile card games will require innovative gameplay and more powerful backend service architecture. So how can mobile card games survive in this tumultuous environment? Let us take a closer look.

Mobile Card Game Core Needs

As China's mobile gaming industry has burgeoned in the 4G era, mobile card games have played a dominant role in the domestic mobile gaming market, accounting for nearly half of mobile gaming revenue in 2013. 2014 saw the rise of intense action mobile card games while 2015 ushered in the age of real-time battles. The rise of other immersive mobile games poses a strong challenge to card games. Confronted with the surging popularity of RPG games, mobile card games will require innovative gameplay, which is only possible with a more powerful back-end service architecture.

High disk IO

Because mobile card game servers produce and accumulate large volumes of player logs, these servers are required to provide a higher disk IO capacity. Persistent storage is mostly achieved by using NoSQL and non-relational persistence products such as MongoDB and LevelDB.

Rapid deployment and gray release

Card games have a shorter development cycle than RPGs and other immersive mobile games, making cost control easier. Fast server activation, combination, and rollout as well as fast value adjustment have become the norm for card games. Frequent deployment and upgrades on multiple servers present new challenges for the game experience and O&M. The games must support gray releases as well as rapid deployment.

Flexible bandwidth-based payment options

Because most mobile card games are hosted on a single server for a single or multiple zones, it is hard to predict the Internet traffic costs and peak value for a single server. Thus, operators wish to bill the traffic of individual servers on a pay-as-you-go basis.

SPOF risks

This is a typical problem for vertical deployment architecture. If a single sever goes down in a region, service will become unavailable in that particular region. The time needed to restore the service has a direct effect on user experience, financial flow, and even user retention. Restricted by development conditions, code inheritance, costs, and other factors, the vast majority of games still follow this deployment model.

Elastic scalability

The uncertain number of online gamers makes it difficult to predict the resources necessary for allocation, especially during the promotion period just after a game has been released or during online events. Momentary access pressure may easily exceed the system's maximum load capacity, while constantly maintaining a high resource configuration will certainly lead to a massive waste of resources. Therefore, flexible and automatic elastic scalability is extremely important.

Alibaba Cloud Mobile Gaming Solutions

Alibaba Cloud provides a platform to address the needs and challenges faced by card games. This solution provides the following advantages:

High-speed SSD Cloud Disk

With Alibaba Cloud ECS, you can configure a high-IO SSD cloud disk with high-speed, stable random read/write capacity to fully meet game developers' requirements, such as the write performance needs of storing a massive volume of player logs. Using a distributed, triplicate mechanism, this solution delivers robust data reliability.

Rapid deployment and gray release

Alibaba Cloud servers provide completely automated activation and release, convenient image copying, and batch operation features. This allows you to set up the environment in a short time and release excessive resources after switching. The API operation method is more suitable for fully automated O&M deployment.

Flexible bandwidth-based payment options

ECS fees can be charged based on a fixed bandwidth or hourly by actual traffic. You have the flexibility to choose a suitable payment option based on your games' traffic characteristics. Generally, when less than 30% of the bandwidth is used, the Pay-As-You-Go option is more economical.

Servers with zero SPOF risks

The cloud platform is built on a distributed file system that operates under a highly reliable triplicate data redundancy storage mechanism. This ensures data security at all times. Moreover, the ECS servers support automatic failover. When a fault occurs, service is rapidly restored through migration, protecting gaming servers from SPOF risks.

Elastic resource scalability

Alibaba Cloud's multiple services, including ECS and RDS, all support vertical configuration upgrade and horizontal extension. Combined with Auto Scaling, which enables automatic horizontal scaling based on service load conditions, this solution meets the needs of dynamic resource adjustment at all business stages.

目录
相关文章
|
7月前
|
存储 应用服务中间件 开发工具
Platform as a Service
PaaS(Platform as a Service,平台即服务)是一种云计算服务模型,它提供了一组开发工具和服务,使开发人员可以构建和部署应用程序,而无需关心底层基础设施的管理。PaaS 通常包括一个操作系统级别的基础设施、服务器、存储和网络服务,以及一系列开发工具和服务,如数据库、Web 服务器、应用服务器、消息传递、身份认证等。
122 2
Platform as a Service
|
4月前
|
存储 开发框架 监控
【Azure Logic App】添加 Storage Account 来提升 Logic App 的性能
【Azure Logic App】添加 Storage Account 来提升 Logic App 的性能
|
4月前
|
Shell PHP Windows
【Azure App Service】Web Job 报错 UNC paths are not supported. Defaulting to Windows directory.
【Azure App Service】Web Job 报错 UNC paths are not supported. Defaulting to Windows directory.
|
4月前
|
安全 前端开发 网络安全
【Azure App Service】访问App Service应用报错 SSL: WRONG_VERSION_NUMBER
【Azure App Service】访问App Service应用报错 SSL: WRONG_VERSION_NUMBER
141 0
|
4月前
|
数据中心 容器
【Azure 应用服务】在创建App Service时,遇见“No available instances to satisfy this request. App Service is attempting to increase capacity.”错误
【Azure 应用服务】在创建App Service时,遇见“No available instances to satisfy this request. App Service is attempting to increase capacity.”错误
|
Java 测试技术 API
AWS SNS(Amazon Simple Notification Service
AWS SNS(Amazon Simple Notification Service)是一项托管式消息传递服务,可以帮助开发人员向多个终端(如移动设备、电子邮件、SMS、HTTP、SQS 队列等)发送通知和消息。SNS 可以帮助开发人员构建高度可伸缩和可靠的应用程序,同时支持广泛的消息协议和 API。
1039 2
|
Serverless Python
Deploy a flexible and highly available image processing service within 10 minutes
Alibaba Cloud Function Compute is an event-driven and fully-managed compute service. With Function Compute, you can quickly build any type of applicat.
1487 0
|
Web App开发 JavaScript 前端开发
Is server side rendering a good choice for React application
Single page application like react provides a wonderful user experience, however, it comes with two issues: For user who accesses the website at first time, there is no cache of javascript files in
1525 0