# TimeSeries Tiered Storage Journey: Kafka/Flink Streams to Native Cassandra Cold Reads

DevFeed: [TimeSeries Tiered Storage Journey: Kafka/Flink Streams to Native Cassandra Cold Reads](<https://devfeed.tech/articles/timeseries-tiered-storage-journey-kafka-flink-streams-to-native-cassandra-cold-reads-87090.md>)

Original publisher: [Read original article](<https://netflixtechblog.com/timeseries-tiered-storage-journey-kafka-flink-streams-to-native-cassandra-cold-reads-e59d597c9d60?source=rss----2615bd06b42e---4>)

Author: Netflix Technology Blog

Published: 2026-10-14T19:56:08Z

Content type: article

Language: en

Sources: [Netflix](<https://devfeed.tech/sources/netflix-techblog-medium.md>)

Topics: [Apache Cassandra](<https://devfeed.tech/topics/cassandra.md>), [cost-optimization](<https://devfeed.tech/topics/cost-optimization.md>), [performance-engineering](<https://devfeed.tech/topics/performance-engineering.md>), [big-data](<https://devfeed.tech/topics/big-data.md>), [Apache Flink](<https://devfeed.tech/topics/apache-flink.md>), [Apache Kafka](<https://devfeed.tech/topics/apache-kafka.md>), [Distributed Systems & Parallel Computing](<https://devfeed.tech/topics/distributed-systems-parallel-computing.md>), [Event-Streaming](<https://devfeed.tech/topics/event-streaming.md>), [parquet](<https://devfeed.tech/topics/parquet.md>), [Data integrity in software engineering](<https://devfeed.tech/topics/data-integrity-in-software-engineering.md>), [Amazon Elastic Block Store (Amazon EBS)](<https://devfeed.tech/topics/amazon-elastic-block-store-amazon-ebs.md>)

Tags: [2](<https://devfeed.tech/tags/2.md>), [abstraction](<https://devfeed.tech/tags/abstraction.md>), [analysis](<https://devfeed.tech/tags/analysis.md>), [apache](<https://devfeed.tech/tags/apache.md>), [apache-kafka](<https://devfeed.tech/tags/apache-kafka.md>), [api](<https://devfeed.tech/tags/api.md>), [audits](<https://devfeed.tech/tags/audits.md>), [backups](<https://devfeed.tech/tags/backups.md>), [based](<https://devfeed.tech/tags/based.md>), [but](<https://devfeed.tech/tags/but.md>), [can](<https://devfeed.tech/tags/can.md>), [cases](<https://devfeed.tech/tags/cases.md>), [cassandra](<https://devfeed.tech/tags/cassandra.md>), [challenges](<https://devfeed.tech/tags/challenges.md>), [flink](<https://devfeed.tech/tags/flink.md>), [journey](<https://devfeed.tech/tags/journey.md>), [kafka](<https://devfeed.tech/tags/kafka.md>), [native](<https://devfeed.tech/tags/native.md>), [storage](<https://devfeed.tech/tags/storage.md>), [streams](<https://devfeed.tech/tags/streams.md>)

## AI overview

Netflix describes two ways to move older, immutable TimeSeries data from Cassandra hot storage to S3 while retaining the same query interface. The first streams data through Kafka and Flink, then compacts it into sorted Parquet files with small row groups and cached Bloom filters; it reports roughly 150 ms p50 and 500 ms p99 reads, but adds streaming infrastructure and operational cost. The later design reads directly from existing Cassandra backups. A ReadOnlyCompactionStrategy reduces SSTable overlap before slices become immutable; Cassandra's pluggable Memtables then use backup metadata and locally cached index components to plan parallel, cached S3 chunk reads. Retries, integrity checks, initialization isolation, and cluster-wide checks for completed compaction and uploaded backups protect the transition. Because S3 reads use more CPU, they can run on a separate, smaller Cassandra cluster. The excerpt reports over 15 PB stored, thousands of cold reads per second per region, about 30% better p90 latency than the earlier cold tier, and p99 below 500 ms.

## Source excerpt

By Oleksii Tkachuk, Rajiv Shringi, Chris Lohfink, Abe Ratnofsky, Kartik Sathyanarayanan Introduction In an earlier post, we introduced the TimeSeries Abstraction, our high-throughput, low-latency platform designed to store and query temporal event data at scale. It has since become the operational backbone for Netflix's largest datasets, which now span multiple petabytes. However, managing such large datasets in hot storage, tuned for low-millisecond latency access, is not cheap. At Netflix, cost-efficiency is a continuous discipline rather than a temporary initiative. This post shares two solutions that significantly reduce storage costs by continuously moving older, less frequently accessed data into cheaper object storage: Solution 1: Uses Apache Kafka and Flink to stream data directly to S3 Solution 2: Leverages Cassandra backups in S3 and pluggable Memtables to read data directly from S3 We'll start with the Kafka/Flink-based design, then describe how we evolved to a native Cassandra-based cold tier. Challenges As Netflix's TimeSeries datasets have expanded, we've encountered several compounding challenges: Growing retention demands: Users often push for increasing data retention to serve a broader range of use cases, which in turn increases the storage costs. Escalating costs: Maintaining massive, dense clusters for infrequently accessed historical data is prohibitively expensive. Sparse historical access: Most queries target recent events, but older data must remain readily available for occasional audits and investigations. Operational strain: High storage density on hot nodes complicates scaling, deployment, and cluster stability. Latency requirements: Even historical data sometimes requires sub-second query performance for internal tooling and analysis. This creates a clear opportunity: keep the most recent data on fast storage and migrate older, rarely read data to cheaper storage while preserving a consistent API. Done well, this can meet user and operat