VOOZH about

URL: https://thenewstack.io/open-source-innovation-comes-to-time-series-data-compression/

⇱ Open Source Innovation Comes to Time-Series Data Compression - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2024-12-18 09:05:38
Open Source Innovation Comes to Time-Series Data Compression
sponsor-instaclustr,sponsored-post-contributed,
FinOps / Software Development / Storage

Open Source Innovation Comes to Time-Series Data Compression

Advanced Time Series Compressor (ATSC) represents a significant opportunity to optimize storage costs while maintaining analytical capabilities.
Dec 18th, 2024 9:05am by Carlos Rolo
👁 Featued image for: Open Source Innovation Comes to Time-Series Data Compression
Image from JDzacovsky on Shutterstock
Instaclustr sponsored this post.

Time-series data collection inherently generates massive storage requirements that can overwhelm organizations. From IoT systems enabling predictive maintenance to weather tracking systems and personal fitness apps, these monitoring solutions accumulate vast amounts of real-time information — often collecting multiple data points per second, with storage costs mounting exponentially.

While traditional data compression provides some relief from these storage demands, the industry has long needed a more effective solution. Recognizing this challenge, NetApp Instaclustr collaborated with the University of Canberra through the OpenSI initiative to develop the Advanced Time Series Compressor (ATSC) — an open source innovation that fundamentally reimagines high-volume time-series data compression.

Here’s what to know and how to use it.

Loss for the Win

The current landscape of time-series compression is dominated by lossless solutions like LZ4, DoubleDelta and ZSTD — tools designed to preserve data with perfect fidelity. ATSC embraces an often-overlooked reality: Most time-series data already incorporates some degree of loss, whether through inherent limitations in data collection, deliberate under-sampling or routine data management processes like rollover and averaging.

With this insight, ATSC implements a sophisticated lossy compression approach. Rather than storing complete data sets, it generates mathematical functions that closely approximate the original data patterns, storing only the essential parameters of these functions. This approach is paired with granular configurability — users can precisely tune their desired level of accuracy, balancing storage efficiency with data fidelity based on their specific use cases. The result is decompressed data that, while not identical to the original, maintains the accuracy necessary for practical analysis and decision-making.

Consider a real-world example of temperature monitoring data. The figure below compares traditional lossless storage with ATSC’s approach, demonstrating how ATSC captures the essential temperature patterns and gradual changes typical of system metrics. While the ATSC version uses significantly less storage space, it maintains the key characteristics needed for meaningful analysis — the peaks, valleys and overall trends remain clearly visible and analytically valuable.

👁 Lossless vs. ATSC temperature data

Lossless vs. ATSC temperature data

ATSC’s Architecture

At its core, ATSC employs a sophisticated suite of mathematical approaches to compress time-series data: fast Fourier transforms (FFT) for periodic patterns, constant functions for stable readings, Catmull-Rom interpolation for smooth transitions, and inverse distance weighted interpolation for irregular data points. The system intelligently selects the optimal method through rapid statistical analysis of each data segment. Whenever the choice isn’t immediately clear, ATSC benchmarks multiple approaches before selecting the most effective compression method.

A key innovation in ATSC’s design is its default data segmentation strategy. Rather than processing entire data sets as single units, ATSC breaks data into manageable segments. This approach yields multiple advantages:

  1. Enhanced computational efficiency through parallel processing of smaller data blocks.
  2. More precise function fitting by adapting to local data characteristics.
  3. Reduced memory overhead during both compression and decompression.
  4. Selective data access, allowing users to decompress specific time ranges without processing entire files.

This architecture consistently achieves remarkable results, with compressed data typically showing less than 1% deviation from original values. For applications requiring even higher precision, ATSC offers configurable accuracy thresholds to match specific use-case requirements.

👁 Lossless vs. ATSC polynomial fitting vs. ATSC Fast-Fourier Transform fitting

Lossless vs. ATSC polynomial fitting vs. ATSC fast Fourier transform fitting

Breakthrough Compression Performance

ATSC achieves compression ratios that fundamentally change the economics of time-series data storage. In rigorous testing, compression ratios ranged from 46:1 to 880:1, often with negligible loss of analytical value. To put these results in perspective: When compared to industry-standard solutions, ATSC demonstrated compression efficiency approximately 10 times greater than LZ4 and 30 times greater than Prometheus.

👁 The better-fitting purple function uses twice the data storage of the loose-fitting red function.

The better-fitting purple function uses twice the data storage of the loose-fitting red function.

These performance metrics translate directly to operational benefits: Data that previously required terabytes of storage can now be maintained in gigabytes, while preserving the fidelity needed for analysis. This compression efficiency makes it practical to retain longer historical data sets and implement higher-frequency data collection — options that were previously cost-prohibitive with traditional compression methods.

Practical Applications and Use Cases

ATSC’s unique compression capabilities make it particularly valuable in scenarios where storage efficiency can be balanced against precise data reproduction. Here are three key applications where ATSC delivers exceptional value:

Long-Term Data Archival

For organizations managing historical metrics, ATSC transforms the economics of data retention. When moving time-series data into long-term storage, ATSC’s compression enables organizations to maintain comprehensive historical records while dramatically reducing storage costs. The minimal information loss is negligible for most analytical purposes, making it an ideal solution for archival requirements.

High-Frequency Data Collection

ATSC resolves a common monitoring dilemma: the trade-off between sampling frequency and storage costs. Organizations previously limited to 30-second sampling intervals due to storage constraints can now increase their sampling rates substantially while actually reducing storage requirements. This enables more precise event detection and system monitoring without the traditionally associated storage burden.

Operational Metrics and Visualization

For system monitoring applications — tracking CPU usage, memory utilization and similar metrics — ATSC’s approach is particularly effective. These metrics typically display gradual changes and patterns that ATSC’s mathematical functions can model efficiently. When visualizing such data for human analysis, the slight variations in precision are imperceptible, while the storage savings are substantial.

The flexibility of ATSC’s compression approach allows organizations to optimize their data storage strategy for each specific use case, finding the ideal balance between precision and efficiency.

👁 Original data (yellow) vs. ATSC data (green) with 88x compression.

Original data (yellow) vs. ATSC data (green) with 88x compression.

Getting Started With ATSC Is Easy

ATSC is available as an open source project on GitHub, ready for organizations to evaluate and implement. The project is actively expanding its ecosystem, with new integrations under development for popular databases including ClickHouse and Apache Cassandra. These integrations will streamline ATSC adoption, making its powerful compression capabilities more accessible to a broader range of applications.

For organizations managing large-scale time-series data, ATSC represents a significant opportunity to optimize storage costs while maintaining analytical capabilities. Its open source nature ensures transparency and allows for community contributions, while its configurable compression settings enable precise control over the balance between storage efficiency and data fidelity.

As data volumes continue to grow exponentially, ATSC offers a pragmatic, forward-thinking approach to time-series data compression that aligns with both technical requirements and business objectives.

Instaclustr delivers reliability at scale through an integrated data platform of open source technologies such as Apache Cassandra®, Apache Kafka®, Apache SparkTM, ElasticsearchTM, RedisTM, Apache ZooKeeperTM, and PostgreSQL®.
Learn More
The latest from Instaclustr
TRENDING STORIES
Carlos Rolo is manager of Open Source Contributions at NetApp Instaclustr, which provides a managed platform around open source data technologies including Cassandra, Kafka, Postgres, ClickHouse and OpenSearch. With expertise in Rust, Python and a strong foundation in Go, Carlos...
Read more from Carlos Rolo
Instaclustr sponsored this post.
SHARE THIS STORY
TRENDING STORIES
TNS owner Insight Partners is an investor in: ClickHouse.
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.