- Use cases: Analytics
- Industries: Media
- Products and tools: Atlas, Atlas Global Clusters, Atlas Search, Atlas Charts, Aggregation Framework, Atlas Data Federation
- Partners: Unity Game Engine, Amazon EC2
In the gaming industry, managing player profiles, inventory, and game states on a global scale is a challenge. MongoDB Atlas combined with Leafsteroids offers a solution. Global Clusters handle player profiles seamlessly, regardless of geography and MongoDB, with its flexible document model, offers advanced data management, enabling detailed game recordings. Real-time player dashboards via Atlas Charts and user-friendly interactions with Atlas Search enrich the player experience. With MongoDB Atlas, the future is now, where global scalability, efficient data management, and user-focused design coexist harmoniously in the gaming industry.
Traditional approach to managing gaming data and profiles at a global scale involves building a global query router, replication services between multiple nodes across the globe, and integrating into distinct warm storage options. The architecture also requires a separate search engine and visualization tool, with a serverless query service to federate our data into the visualization tool.
With Atlas, a single connection to the MongoDB Atlas Developer Data Platform suffices. By leveraging global clusters, Online Archive, Atlas Search, Atlas Charts and Data Federation; we have a comprehensive set of capabilities required for managing gaming data at a global scale.
A recording signifies a player's gameplay from an event, including scores, moves, and statistics. Using .net (C#), a subset of the player and event is stored in the recording through the extended reference pattern, employing subclassing and custom serialization. This design enhances query performance by allowing selective field embedding and offers future flexibility. In massive online games like "PUBG," with billions of players, data locality is critical for optimal experience and to satisfy legal requirements. Players and recordings are globally sharded, utilizing location-based ISO codes. Atlas Global Clusters enable superior performance and easy scalability, allowing shard and zone additions without service disruptions.
At the core of the engaging Leafsteroids gaming platform lies the robustness of MongoDB Atlas. Designed as a demonstration, the game is a harmonious blend of interactive user experiences and meticulous data management.
Use global clusters, read from secondary, and write to primary to scale horizontally and cater to a global audience without side effects and latency.
Leverage the document model to store all data for a single game run in a single document, but serialize a subset during run time for boosting performance.
The Players and Recordings collections are “globally sharded.” The first segment of the shard key is the location. Atlas Global Clusters associates ISO Country and Subdivision codes (ISO-3166-1,ISO-3166-2) to Zones where a zone is 1+ shards hosted on a cloud region and used to route query and write requests, ensuring the best performance. Global queries are also supported.
Create this solution yourself with the associated sample data, functions, and code.
Learn how MongoDB’s developer data platform supports various gaming use cases.
SEGA HARDlight migrates to MongoDB Atlas to simplify ops and improve experience for millions of mobile gamers.