-
Notifications
You must be signed in to change notification settings - Fork 639
learn
roseduan edited this page May 8, 2022
·
3 revisions
rosedb
is based on bitcask, so bitcask
storage model is the basic knowledge(it is simple to understand).
Articles introducing to Bitcask
:
https://riak.com/assets/bitcask-intro.pdf
https://medium.com/@arpitbhayani/bitcask-a-log-structured-fast-kv-store-c6c728a9536b
A best practice of bitcask, 300 lines code to understand the main idea of bitcask:
https://github.com/roseduan/minidb
You can understand rosedb by following steps:
- How
Set
andGet
work? - How
doRunGC
(called merge in paper) operation work? - Memory and disk layout.