Persistence

You can specify the persistence type and persistence policy when you define a space.

When you set up persistence for a space, you specify:

  • Persistence Type - You can set persistence to NONE (no persistence, shared all persistence, or shared-nothing persistence).
  • Persistence Policy - You can set up asynchronous persistence or synchronous persistence.

Persistence Type

ActiveSpaces provides two types of persistence:

Shared-Nothing Persistence
Each node that joins a space as a seeder maintains a copy of the space data on disk. Each node that joins as a seeder writes its data to disk and reads the data when needed for recovery and for cache misses
Shared-All Persistence
All nodes share a single persister or a set of persisters.

Persistence Policy

For both shared-nothing persistence and shared-all persistence, you can specify that ActiveSpaces uses either synchronous or asynchronous communication to maintain persistence.

Related reference