Skip to content

Instantly share code, notes, and snippets.

@alltheseas
alltheseas / STORAGE_OPTIMIZATION_ANALYSIS.md
Created January 5, 2026 22:10
NostrDB Snapshot Storage Optimization - Technical Review (Updated 2026-01-05)

NostrDB Snapshot Storage Optimization Analysis

Issue: GitHub #3502 Beads: optimize-storage-ndb-snapshots-ct6 Date: 2026-01-05

Executive Summary

PR #3468 fixed critical 0xdead10cc crashes by moving the main NostrDB database to the app's private container and creating periodic snapshots to a shared container for extension access. The tradeoff is doubled storage since the entire database is copied.