Skip to content
This repository was archived by the owner on Jan 7, 2025. It is now read-only.

DNM: persistent kernel #268

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

DNM: persistent kernel #268

wants to merge 4 commits into from

Conversation

skyzh
Copy link
Member

@skyzh skyzh commented Dec 18, 2024

The patch adds a new ng-kernel crate which contains a very simple implementation of memo table based on persistent storage (i.e., database). No in-memory state is needed and all reads/writes are done on sqlite. See persistent_memo.rs for more info. The database only stores the minimum required information of the memo table, and can be extended to build indexes or other relations to ensure retrieving info from the backend is efficient (i.e., implementing fingerprint lazy merge optimizations on skyzh/lazy-merge branch, though that one is not 100% correct)

Signed-off-by: Alex Chi <iskyzh@gmail.com>
Signed-off-by: Alex Chi <iskyzh@gmail.com>
Signed-off-by: Alex Chi <iskyzh@gmail.com>
Signed-off-by: Alex Chi <iskyzh@gmail.com>
@skyzh skyzh marked this pull request as ready for review December 18, 2024 04:50
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant