Catalogue / instagram-2018-rocksandra

Instagram replaces Cassandra's Java storage engine with one built on RocksDB to cut garbage-collection stalls and P99 read latency

Instagram, 2018. Cassandra key-value storage service with the Rocksandra storage engine.

Organisation
Instagram
Evidence
Reported from production
Source
Open-sourcing a 10x reduction in Apache Cassandra tail latency

Instagram Engineering (Medium), published 2018-03-05

Records

Decision#d1

Build a C++ storage engine on RocksDB for Cassandra to take the storage path out of the Java heap

Decision#d2

Put the new engine behind a narrow storage engine API and rebuild streaming on RocksDB file ingestion

Sign in to read what was chosen, what was rejected and what it cost, each with its place in the source. An account is free. The job-queue cards are open without one.