---
title: "Discussion on \"Leveled vs Tiered Compaction: Choosing Which Bill Your LSM Tree Pays\" | Hashnode"
description: "Discussion on \"Leveled vs Tiered Compaction: Choosing Which Bill Your LSM Tree Pays\". Every LSM tree pays for writes, reads and disk space. Compaction decides which bill gets big. Measured on a simulator, then mapped to RocksDB and Cassandra settings."
url: "https://hashnode.com/posts/leveled-vs-tiered-compaction/6b1182ad024b2c57b905d4ac"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Leveled vs Tiered Compaction: Choosing Which Bill Your LSM Tree Pays](https://kartikpatel.hashnode.dev/leveled-vs-tiered-compaction?utm_source=hashnode&utm_medium=feed)

Every LSM tree pays for writes, reads and disk space. Compaction decides which bill gets big. Measured on a simulator, then mapped to RocksDB and Cassandra settings.

1d ago · 13 min read · kartikpatel.hashnode.dev  
Read the article

-   [#databases](https://hashnode.com/tag/databases)
-   [#system-design](https://hashnode.com/tag/system-design)
-   [#distributed-systems](https://hashnode.com/tag/distributed-systems)
-   [#backend](https://hashnode.com/tag/backend)
-   [#data-structures](https://hashnode.com/tag/data-structures)

## Written by

[Kartik Patel](https://hashnode.com/@kartiklogs)

@kartiklogs · Pune, India

  
[View profile](https://hashnode.com/@kartiklogs)

Backend & Platform engineer. Writing about distributed systems and database internals

Hi, I'm Kartik, a software engineer based in Pune. By day I work on high-traffic services and infrastructure. In my spare time I like taking systems apart to see how they work. I write about what I learn along the way, from distributed systems to the bugs that taught me the most. Cheers !

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
