LearnNewsExamplesServices
Frontmatter
id9678
titleNative Graph Database SQLite Persistence Adapter
stateClosed
labels
enhancementai
assigneestobiu
createdAtApr 4, 2026, 3:17 AM
updatedAtApr 4, 2026, 3:34 AM
githubUrlhttps://github.com/neomjs/neo/issues/9678
authortobiu
commentsCount1
parentIssue9673
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtApr 4, 2026, 3:34 AM

Native Graph Database SQLite Persistence Adapter

Closedenhancementai
tobiu
tobiu commented on Apr 4, 2026, 3:17 AM

The Neo.ai.graph.Database currently achieves ultra-fast O(1) topological traversals via its specialized mapped memory Store. However, to prevent total state loss on server reboots, it requires a robust disk persistence strategy.

Since the Neo.ai.* namespace uniquely targets Node.js environments unconditionally (bypassing strict browser isomerism isolation mechanisms), we can integrate standard native Node instances dynamically directly at the backend driver layer.

Scope

  • Construct Neo.ai.graph.storage.SQLite utilizing robust better-sqlite3 schemas.
  • Implement storage triggers linking standard nodes_ and edges_ Store mutations to instantaneous, atomic SQL transactions.
  • Refactor the existing standalone SQLite mechanism in memory-core/services/GraphService.mjs and establish this new Storage configuration universally for the whole Neo.ai.graph engine namespace.
tobiu added the enhancement label on Apr 4, 2026, 3:18 AM
tobiu added the ai label on Apr 4, 2026, 3:18 AM
tobiu added parent issue #9673 on Apr 4, 2026, 3:18 AM
tobiu referenced in commit 152d111 - "feat: Implement Native Edge SQLite Graph Persistence (#9678)" on Apr 4, 2026, 3:33 AM
tobiu assigned to @tobiu on Apr 4, 2026, 3:34 AM
tobiu
tobiu Apr 4, 2026, 3:34 AM

Native Edge SQLite Graph Persistence and overarching migration implemented and verified via unit tests. Definition of Done met.

tobiu closed this issue on Apr 4, 2026, 3:34 AM