logoalt Hacker News

rgbimbochamptoday at 3:32 AM3 repliesview on HN

Those help but the main write speed gain is the WAL, that uses preallocated mmap segments to avoid a write(2) per durable mutation while preserving crash recovery. AES hashing mainly helps Bloom filter point lookups and LZ4 mainly helps SSTable I/O. Scans benefit indirectly, but don’t yet use a custom SIMD merge loop.


Replies

bestoufftoday at 4:27 AM

I said elsewhere this doesn't survive a power loss.

show 1 reply
dangoodmanUTtoday at 3:49 AM

Iirc that’s how badger handles the WAL as well