Skip to content

Commit

Permalink
v2: replace bloomfilter with optimzied cuckoofilter
Browse files Browse the repository at this point in the history
  • Loading branch information
guycipher committed Nov 9, 2024
1 parent b6efed6 commit f2a799b
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 409 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ More detailed benchmarks can be found in [here](https://github.com/guycipher/k4/
- Configurable compaction interval (in seconds)
- Configurable logging
- Configurable skip list (max level and probability)
- Optimized bloom filter for faster lookups. SSTable final pages contain a bloom filter. The bloom filter check returns a page index if key is found.
- Optimized cuckoo filter for faster lookups. SSTable final pages contain a cuckoo filter. The cuckoo filter check returns a page index if key is found.
- Recovery from WAL
- Granular page locking (sstables on scan are locked granularly)
- Thread-safe (multiple readers, single writer)
- TTL support (time to live). Keys can be set to expire after a certain time duration.
- Murmur3 inspired hashing on compression and bloom filter
- Murmur3 inspired hashing on compression and cuckoo filter
- Optional compression support (Simple lightweight and optimized Lempel-Ziv 1977 inspired compression algorithm)
- Background flushing and compaction operations for less blocking on read and write operations
- Easy intuitive API(Get, Put, Delete, Range, NRange, GreaterThan, GreaterThanEq, LessThan, LessThanEq, NGet)
Expand Down
227 changes: 0 additions & 227 deletions v2/bloomfilter/bloomfilter.go

This file was deleted.

150 changes: 0 additions & 150 deletions v2/bloomfilter/bloomfilter_test.go

This file was deleted.

Loading

0 comments on commit f2a799b

Please sign in to comment.