Linked List

There's a total of 1 articles.




Memtable & SSTable (Sorted String Table)

Memtable & SSTable (Sorted String Table)
Write path in Cassandra, source https://docs.datastax.com

The pattern of batching data up in memory, tracked in a write ahead log, and periodically flushed to disk is ubiquitous today. OSS examples are LevelDB, Cassandra, InfluxDB, or HBase.


In this article I implement a tiny memtable for a timeseries database in golang and briefly talk about how it can be compressed into a sorted string table.
Me
Published on Sat, Feb 29, 2020
Last modified on Sun, Nov 10, 2024
892 words - Page Source