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.
- API Operations for Setting up Persistence
 
- Shared-Nothing Persistence Concepts
 Use a unique name for each member that is joining the space. This is used to uniquely identify the persistence files.
- Shared All Persistence
 Because ActiveSpaces is a true peer-to-peer distributed system, it provides API operations that let you enable shared all persistence. With shared all persistence, some of the space members — the persisters — are responsible for interacting with a persistence layer, just as some of the space members — the seeders — provide the basic space service.
- Recovery with Persistence
 
Related concepts
Related reference
Copyright © Cloud Software Group, Inc. All rights reserved.
