Theater v0.1.0 Theater.Storage.MnesiaDisk View Source

A simple Mnesia storage implementation for experimenting.

This is a very simple storage implementation provided for out-of-the-box experimental usage. It is not recommended for actual production use. Mnesia has significant issues with scaling, and only exists within the cluster itself, which can lead to problems when nodes are added or removed, and in a “split brain” scenario it completely defeats the purpose of the persistence storage. It is included only because Mnesia comes in the box with Erlang and it is sufficient to play with for understanding how Theater works. Please do not consider it anything more than a toy implementation.

Link to this section Summary

Functions

Removes the Actor’s state

Retrieves the state of the given Actor

Stores the state of the given Actor

Link to this section Functions

Removes the Actor’s state.

Retrieves the state of the given Actor.

Stores the state of the given Actor.