3 ms·
How does flushing in a background process work if it says that it's an embeddable database that's in your application? It says there is no external process so h
by polishdude20 4y ago
How does flushing in a background process work if it says that it's an embeddable database that's in your application? It says there is no external process so how is there a background process that performs compaction and flushing?
- remram 4y agoIt's a thread: https://artem.krylysov.com/blog/2023/04/19/how-rocksdb-works/#flush https://artem.krylysov.com/blog/2023/04/19/how-rocksdb-works... > RocksDB runs a dedicated background thread that persists immutable memtables to disk. They are using "process" to mean "mechanism", something that happens, not a literal OS process. I agree that it's a bit confusing to use the word both ways.