Persistence

From HEWIKI
Jump to: navigation, search

Contents

Overview

In computer programming, persistence refers to data/state that survives beyond the current session/program termination. In MMOs, all kinds of data associated with character state is maintained by an engine's "persistence layer" allowing users to follow some kind of progression path from one session to another (whether that is advancing to new levels, collecting stuff or otherwise tracking some kind of goals or score). HeroEngine supports two different persistence layers, one on the client and one on the server.

the Database

HeroEngine's default datastore on the server is an Oracle database which is typically shared by multiple worlds (shards). The database layer is encapsulated in a single interface called Javelin which can be modified to utilize alternative database solutions. Technically, there are three major schemas involved in persistence of game data in the database.

How and when changes are persisted to the database depends on the type of the change:

Local Repository Cache

See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox