Persistence

← Documentation
STRVCT

Local storage, cloud sync, and blob management for object graphs.

Three tiers: the in-memory model, local storage in IndexedDB (an object pool plus a content-addressable blob pool), and cloud storage with addressing nodes that point to object and blob records. Mutations propagate synchronously to local and asynchronously to cloud; reads resolve from whichever tier is closest.

Model SvNode graph in memory mutate load Local Storage Object Pool records (by puuid) Blob Pool content-addressable sync fetch Cloud Storage Cloud Nodes → object or blob Cloud Object Pool object records Cloud Blob Storage blob records Mutations propagate synchronously to local and asynchronously to cloud; GC collects orphan blobs at both tiers.

Local Object Pools

IndexedDB-backed persistence for object graphs using dirty tracking and automatic serialization.

View →

Cloud Object Pools

Cloud sync for object pools and collections using Firebase Storage.

View →

Local and Cloud Blob Storage

Content-addressable storage for binary data like images, audio, and video.

View →