TL;DR
ASAP (Application Semantic-Aware Processing) is a new paradigm that treats application-specific data needs as first-class citizens throughout the entire data lifecycle. By unifying techniques like sketching, sampling, and wavelets across collection, transmission, storage, and analysis, the authors demonstrate up to three orders of magnitude improvement in the tradeoff between cost, scale, and performance.
What Problem Does This Paper Address?
Modern data pipelines are buckling under the CSP problem: the struggle to manage skyrocketing Costs and massive Scale while maintaining high Performance. As systems shift toward machine-generated data (bots, AI agents, and fine-grained telemetry), traditional "data-centric" approaches—which treat every raw bit as precious—are becoming unsustainable.
Currently, researchers tackle this with siloed, domain-specific optimizations. For example, networking researchers might use "sketches" (compact data structures) in routers to monitor traffic, while database engineers use "Approximate Query Processing" (AQP) to speed up analytics. However, these techniques are rarely shared across domains or integrated across the entire lifecycle (from the source to the final dashboard). This fragmentation leaves massive optimization opportunities on the table.
Methods
The authors propose the ASAP framework, which shifts the focus from raw data to the specific information an application actually needs.
Key components of the method include:
- ASAP Primitives: A library of "semantic-aware" tools including sampling, sketching, histograms, wavelets, rollups, and generative models. Each primitive is defined by the specific data properties it preserves (e.g., sketches preserve aggregates; wavelets preserve temporal structure).
- Unified CTSA Lifecycle: Instead of optimizing a single stage, ASAP applies these primitives across the entire Collect-Transmit-Store-Analyze pipeline.
- Automated Synthesis: The envisioned framework takes a "problem spec" (fidelity requirements and bottlenecks) and a "deployment spec" (existing tech stack and resource budgets) to automatically generate a bespoke, optimized pipeline.
Datasets
The authors evaluated ASAP across three distinct domains using the following datasets:
- Metrics Observability: A stream of 1M time-series generated by 10 hosts (100k series each) at a throughput of 10M data points/sec.
- Distributed Tracing: A public Uber dataset containing 531,000 traces (746 million spans) spanning multiple days.
- Network Monitoring: The CAIDA dataset, consisting of anonymized internet packet traces.
Key Insights and Ideas
- "Seeing the forest for the trees": The core insight is that most applications don't need raw data; they need specific summaries. By preserving only the necessary semantics at the source, you can avoid the cost of moving and storing "junk" data.
- Cross-Lifecycle Magnification: The benefits of these techniques compound. If you build a sketch at the collection stage, you save on transmission, storage, and analysis costs simultaneously.
- Stacking Primitives: Different primitives can be combined for the same workload. For instance, a pipeline might use wavelets to preserve time-varying behavior for storage while using sketches to serve real-time aggregate queries.
- Domain Agnosticism: A primitive developed for high-speed network routers (like UnivMon) can be directly reused to solve cardinality or top-k problems in cloud observability or business analytics.
Key Results
The preliminary evidence for ASAP is striking across all tested domains:
- Metrics Observability: Compared to a standard Prometheus setup, ASAP reduced transmission costs by 48x and analysis costs by 81x. It also reduced memory usage by up to 7000x and accelerated queries by up to 3000x.
- Distributed Tracing: The team achieved a 140x compression ratio, leading to 50x lower transmission costs and 5x lower analysis costs while maintaining high accuracy (≥ 95%).
- Network Monitoring: ASAP delivered a 600x storage cost reduction and a 4–10x reduction in query latency compared to Clickhouse.
Limitations and Future Work
While the results are promising, the authors identify several open research challenges:
- Automated Selection: Currently, primitives are manually placed and configured. Automating this "end-to-end optimization" is a complex task.
- Interoperability: There is a need for standardized, self-describing representations so that a sketch created on a specialized NIC can be easily understood by a backend database.
- Dynamic Reconfiguration: Production workloads shift; the framework needs to learn when and how to swap or reconfigure primitives at runtime without human intervention.
- Complex Queries: While ASAP handles simple aggregates well, supporting complex joins and nested queries over these summarized primitives remains an open problem.
Summary updated