







One of the most confusing design pattern is persistence. The need for an application to persist its internal state and data is so tremendous that there are likely tens - if not hundreds - of...
The Forgetting Problem: Persistence Architectures and What They Cost - Astral's Blog
Persistent Storage Options
This API provides database persistence via localStorage/sessionStorage and, in compatible browsers, the Origin-Private FileSystem.
sindresorhus/electron-store
Simple data persistence for your Electron app or module - Save and load user preferences, app state, cache, etc
Mem0 - AI Memory Layer for your Agents & Apps | Persistent Context
Mem0 is the memory layer for AI agents and applications, enabling them to learn from past interactions and deliver personalized experiences.

RocksDB | A persistent key-value store
RocksDB is an embeddable persistent key-value store for fast storage.

LiveStore: SQLite-based data layer for local-first apps
Introducing: LiveStore - the client-centric, local-first data layer for high performance applications.

Lifestreams: a storage model for personal data
Conventional software systems, such as those based on the “desktop metaphor,” are ill-equipped to manage the electronic information and events of the typical computer user. We introduce a new metaphor, Lifestreams, for dynamically organizing a user's personal workspace. Lifestreams uses a simple organizational metaphor, a time-ordered stream of documents, as an underlying storage system. Stream filters are used to organize, monitor and summarize information for the user. Combined, they provide a system that subsumes many separate desktop applications. This paper describes the Lifestreams model and our prototype system.
DREAM — Dynamic Retention Episodic Architecture for Memory
Modern AI systems lack persistent, user-specific episodic memory. Existing approaches rely on short-term context windows, shallow preference storage, or static conversation logs that do not scale and cannot preserve meaningful long-term continuity. This paper introduces DREAM (Dynamic Retention Episodic Architecture for Memory), a scalable, opt-in, episodic memory framework designed to work with current LLM and agent architectures. DREAM integrates episodic summarization, user-controlled opt-in memory, semantic retrieval via per-user vector indexes, an adaptive retention mechanism that expands TTL based on user engagement, and horizontal sharding of orchestrators and storage for large-scale deployments. The paper details the architecture, components, data flows, and implementation examples, and argues that DREAM provides a practical path toward AI systems capable of consistent, privacy-aligned long-term reasoning. This project has been extended with a conceptual analysis and simulation of a "DREAM-as-a-Support" (DaaS) hybrid layer. This extension demonstrates DREAM's architectural extensibility, reframing it from a standalone framework into a foundational platform component. The DaaS model provides core memory governance such as adaptive retention (ARM) and user-centric opt-in as an on-demand service to complementary cognitive systems, validating the original four-pillar design through a scalable, internal API. Reference Implementation A reference implementation of the DREAM architecture is available as an open-source Python framework:Official Reference Implementation This implementation is intended for experimentation and architectural validation and does not represent a production-ready system DREAM Architecture — Official GitHub Repository
UI Is a Conservation Layer - The Phoenix Architecture
Why the user interface is the last to become regenerative
UI Is a Conservation Layer - The Phoenix Architecture
Why the user interface is the last to become regenerative
Building a modern design system in layers
So often, when building a design system, we end up building something rigid that we will struggle with as time goes by. When this is done, we can try to evolve it well, and to make it so good that …

livestorejs/livestore
LiveStore is a next-generation state management framework based on reactive SQLite and built-in sync engine.
Designing Data-Intensive Applications
Data is at the center of many challenges in system design today. Difficult issues need to be figured out, such as scalability, consistency, reliability, efficiency, and... - Selection from Designing Data-Intensive Applications [Book]
Abstraction Begets Fragmentation
Christian Heilmann raises the ugly issue of offline storage. LocalStorage’s synchronous nature makes it slow, WebSQL is deprecated, and IndexedDB’s API induc...
Why exe.dev VMs are persistent - exe.dev blog
On the design decision to make VMs persistent, with persistent disks.
LiveStore
LiveStore is a next-generation state management framework based on reactive SQLite and git-inspired syncing (via event-sourcing). - LiveStore