How does the LSM tree work

LORY
6 min readFeb 11, 2024

And why you may not need it.

The story

“My system has a performance problem at the database level, and my boss asked me to look into Apache Cassandra and ScyllaDB,” my architect friend said.

“But what kind of problem? read or write, I/O-bound or CPU-bound?” I asked.

“Hard to say, based on the business logic, both read and write heavy, need high-speed write, scale storage, fast search, and reporting feature,” he said.

--

--

LORY

A channel which focusing on developer growth and self improvement