Previous: , Up: Persistence   [Contents][Index]

8.7 Persistence stores

Persistence stores are an abstraction used primarily for vats, however they can also be used with actormaps too. They are used to save and retrieve data from different backing stores and other storage mechanisms.

Currently Goblins provides two stores, the first is an in memory store where nothing is persisted and the second is a syrup store, which reads and writes to files, serializing the data in the Syrup serialization format.

Note: Stores are currently not designed in a thread safe mannor so care should be taken to ensure they are only accessed by one vat.