lizzy-0323/oasisdb

feat: skiplist enhancement for lsm tree based kv storage

Aperta

#48 aperta il 15 lug 2025

 (0 commenti) (0 reazioni) (0 assegnatari)Go (16 fork)auto 404
enhancementhelp wanted

Metriche repository

Star
 (99 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

At first, I use a simple RWMutex to ensure concurrent safety of the skip list. But such global locks are actually very large. For insert and get operations, we only need to lock the left boundary, which is also one of the reasons why skip list is better than red-black tree.

Guida contributor