Fast and reliable database, optimised for read operations.
TODO: Additional security layers, mirroing, versioning, session and long-term encryption will be implemented soon.
- Journal eras (
usize
) - Preallocated memory (
u64
) - Extend threshold in % (
u8
)
- Version (
u32
) - Used memory (
u64
)
- Check cache
- Check journal
- Read from memmap
- Create and push new journal era
- Create virtual commit from final journal eras
- Delete journal eras
- Copy content of virtual commit to memmap
- Delete virtual commit
- Pop and delete journal era
- If valid virtual commit exists copy it to memmap and delete
- Delete all invalid journal eras