LiveSlice.CRDT.MemoryPersistence (live_slice v0.2.1)

Copy Markdown View Source

The default persistence of LiveSlice.CRDT: documents, their generations and the metadata of their last delete are kept in an ETS table owned by the server's supervisor, so they outlive their document processes but not the server. For demos and tests only: a restart or a deploy loses every document (clients that still hold one send it back on their next sync, see "Offline, tabs and restarts" in the Collaborative keys guide) and forgets every delete (a client that still holds a deleted document sends it back too).