March 2013
Intermediate to advanced
174 pages
3h 58m
English
This chapter outlines the basic patterns and principles for using MongoDB as a persistent storage engine for an online game, particularly one that contains role-playing characteristics.
In designing an online game, there is a need to store various data about the player’s character. Some of the attributes might include:
In addition, we need to store all this data for large numbers of players who might be playing the game simultaneously, and this data needs to be both readable and writable with minimal latency in order to ensure responsiveness during gameplay.
In addition to the preceding data, we also need to store data for:
Another consideration when designing the persistence backend for an online ...
Read now
Unlock full access