Original Reddit post

Memora is a lightweight MCP server that gives Claude persistent memory — semantic search, knowledge graph, cross-session recall. SQLite local or Cloudflare D1 / S3 / R2 remote. Just cut v0.2.25 . Headline: memory_create / memory_update on D1 drop from 10s+ → ~2s per call . What was slow: ensure_schema() was firing 7–9 D1 round-trips on every tool call (~4–8s wasted each) Crossref scan was a two-step list + get_embeddings pattern (~10 round-trips on a 500-memory store) D1 session token was class-level and got stomped by background threads What changed: Schema cached per backend instance, paid once at connect Crossref scan rewritten as a single paginated LEFT JOIN Session token moved per-instance with a backend-level keep-max bookmark mirror Measured on live D1: memory_create : 10s+ → ~1.8s memory_update : 10s+ → ~1.1s connect() 2nd call onward: ~4–8s → ~0ms (cache hit) Plus: Durable Object request reduction (lower Cloudflare bill), XSS fix in graph UI, schema cache correctness fix for CloudSQLiteBackend file swaps. No schema migration, no API changes, 39/39 tests green. Release: https://github.com/agentic-box/memora/releases/tag/v0.2.25 submitted by /u/spokv

Originally posted by u/spokv on r/ClaudeCode