Spotify
Spotify logoSpotify · Feature trail

Cassandra Orchestration Tool

3 posts · Nov 2014 – Aug 2018

What this trail covers

Spotify's Cassandra orchestration and management capabilities have evolved with the introduction and adoption of the Date-Tiered Compaction Strategy (DTCS). DTCS is optimized for time-series data, a common use case for Cassandra, by aligning SSTable age with data timestamps. This improves read performance by reducing the number of SSTables that need to be scanned for time-based queries. DTCS also aids in data removal by efficiently purging tombstones and TTL-expired data from older SSTables. While DTCS is highly effective for time-series and steady-rate write patterns, it is less suitable for highly out-of-order writes or scenarios with frequent repairs that introduce out-of-order timestamps. The post also emphasizes the importance of consistent timestamp formatting and client clock synchronization.

All Spotify trails