Observability Is Eating Your Cores: Fine-Grained Analysis of Microservice Metrics with IPU-Hosted Sketches
Alessandro Cornacchia (King Abdullah University of Science and Technology), Theophilus A. Benson (Carnegie Mellon University), Muhammad Bilal (King Abdullah University of Science and Technology), Marco Canini (King Abdullah University of Science and Technology)
23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26) · Day 1 · The Care and Feeding of Networked Systems
Overview
Modern cloud-native applications built on microservice architectures offer unprecedented development velocity and elastic scaling, but they exact a severe toll in operational complexity. As applications decompose into dozens of isolated Linux containers, their failure surfaces expand dramatically. To maintain application health, engineering teams rely heavily on observability infrastructure, particularly metrics—time-series data exposing runtime states like CPU consumption, memory usage, and connection counts. In hyper-scale environments, this data tsunami is staggering. For instance, Uber’s observability pipeline ingests 500 million metrics per second, persisting roughly 20 million per second to long-term storage. Operating a managed Prometheus instance at this scale can incur costs exceeding $21 million per month for a standard 150-day retention policy.

Key moments
- 0:00 Introduction and the high cost of microservice metrics
- 2:00 The metrics collection problem and application performance trade-offs
- 4:00 Three core requirements for an ideal monitoring system
- 6:00 Introducing MicroView and decentralized local analysis
- 8:00 Local failure detection and measuring remote ingestion costs
- 10:00 Lightweight matrix sketching for anomaly detection
- 12:00 Offloading sketch execution to Infrastructure Processing Units (IPUs)
- 14:00 Evaluation results on biased trace sampling and scalability
Observability Is Eating Your Cores: Fine-Grained Analysis of Microservice Metrics with IPU-Hosted Sketches
Speakers: Alessandro Cornacchia (King Abdullah University of Science and Technology); Theophilus A. Benson (Carnegie Mellon University); Muhammad Bilal (King Abdullah University of Science and Technology); Marco Canini (King Abdullah University of Science and Technology)
Conference: USENIX NSDI
YouTube: https://www.youtube.com/watch?v=q8i0QGYow4w
Overview
Modern cloud-native applications built on microservice architectures offer unprecedented development velocity and elastic scaling, but they exact a severe toll in operational complexity. As applications decompose into dozens of isolated Linux containers, their failure surfaces expand dramatically. To maintain application health, engineering teams rely heavily on observability infrastructure, particularly metrics—time-series data exposing runtime states like CPU consumption, memory usage, and connection counts. In hyper-scale environments, this data tsunami is staggering. For instance, Uber’s observability pipeline ingests 500 million metrics per second, persisting roughly 20 million per second to long-term storage. Operating a managed Prometheus instance at this scale can incur costs exceeding $21 million per month for a standard 150-day retention policy.
This talk introduces MicroView, a novel telemetry collection and analysis system designed to resolve the fundamental tension between observability granularity and resource overhead. Traditional production monitors pull metrics from applications at fixed, coarse-grained intervals (e.g., every 10 to 60 seconds) to prevent the metrics exporter from stealing CPU cycles from the application workload. However, this coarse sampling obscures transient, fine-grained failure modes such as cascading and metastable failures.
MicroView re-architects the end-to-end metrics pipeline by moving intelligence directly to the edge of the compute node. Instead of shipping raw, unanalyzed time-series data to a centralized backend, MicroView performs localized, real-time anomaly detection next to the service producer. By leveraging streaming matrix sketching algorithms offloaded to hardware accelerators like Infrastructure Processing Units (IPUs), MicroView achieves sub-second metric visibility while maintaining negligible host CPU overhead, ultimately optimizing storage utility by transmitting only actionable telemetry.
Background
▶ Watch: Introduction and the high cost of microservice metrics (0:00)
To understand why traditional monitoring architectures buckle under modern workloads, one must examine the standard scrape-and-collect loop. In monitoring systems like Prometheus, individual microservices are instrumented with dedicated metrics exporters that read internal runtime values and expose them over the network. A centralized collector running on a separate node polls these exporters at scheduled scraping intervals.
This centralized design introduces a severe operational dilemma: collection overhead versus application performance. Production operators typically drive server CPU utilization high to maximize infrastructure efficiency and reduce operational costs. Because metrics exporters share the same host node as the application workload, the act of metric collection induces significant contention. Empirical evaluations demonstrate that standard metrics collection can degrade frontend microservice latency and throughput by nearly a factor of two during collection cycles.
A common industry workaround is to coarsen the scraping interval, reducing collection frequency to minimize resource contention. Unfortunately, this trades away the diagnostic visibility required to debug complex cloud failures. Transient anomalies—such as cascading failures propagating rapidly between dependent microservices—unfold across short time scales (under 30 seconds). At 10-to-60-second sampling intervals, distinct causal patterns collapse into indistinguishable noise.
Prior work has attempted to bridge this gap through various compromises. Sampling (utilized by Open Telemetry and Prometheus) trades storage utility and temporal resolution for lower network and CPU overhead. Metric selection frameworks like Sieve discard correlated metrics to improve storage utility, but fail to address host CPU contention or temporal granularity. RDMA-based collectors like Zero bypass the host CPU using Remote Direct Memory Access, enabling fine-grained scraping without direct CPU interference, but they still transmit every raw metric to the backend, failing to improve storage utility. MicroView is the first systems approach to simultaneously satisfy all three core requirements: high temporal granularity, maximized storage utility, and zero host CPU contention.
Key Findings
▶ Watch: Three core requirements for an ideal monitoring system (4:00)
The central discovery of this work is that while root-cause attribution and global dependency analysis require centralized processing, failure detection is inherently local. By analyzing metrics locally at sub-second intervals, anomalies can be identified at the edge of the compute node before raw data ever traverses the datacenter network.
Key findings and architectural achievements include:
- Cost Asymmetry in Ingestion: MicroView's empirical profiling reveals that local metric access overhead is vastly overshadowed by remote network ingestion costs. Scaling local access intervals from 10 seconds down to 1 second incurs a modest $2\times$ increase in cAdvisor metrics exporter CPU consumption. Conversely, scaling remote ingestion down to 1-second intervals causes a nearly $10\times$ surge in resource utilization, validating the architectural strategy of local analysis.
- Streaming Sketching vs. Dimensionality Reduction: Exact dimensionality reduction techniques like Principal Component Analysis (PCA) or Singular Value Decomposition (SVD) can capture complex multivariate correlations and require minimal operator tuning, but recomputing subspaces upon every incoming metric sample is computationally intractable. MicroView's adoption of streaming matrix sketches matches the accuracy of full dimensionality reduction while operating in real time with minimal overhead.
- High-Fidelity Trace Sampling: When integrated as a biased trace sampler, MicroView dramatically increases the capture rate of symptomatic distributed traces—those associated with short-lasting performance anomalies under 30 seconds—while maintaining low false-positive overhead compared to standard head-based random samplers.
- IPU Scalability: A single IPU core hosting MicroView's sketches on a BlueField-2 DPU can sustain metrics monitoring for up to 256 individual Kubernetes pods while executing sub-second scraping loops via RDMA.
Technical Deep Dive
▶ Watch: Local failure detection and measuring remote ingestion costs (8:00)
MicroView’s architecture decouples metrics ingestion and analysis from the host application lifecycle through a combination of streaming algorithms and hardware offload.
Localized Analysis and Correlation
Microservices exhibit strong internal correlations; for example, in a Redis key-value store, cache hit rates correlate tightly with key expiration counts. Capturing these patterns requires multivariate analysis capable of detecting deviations across interdependent metrics. However, traditional machine learning approaches like autoencoders offer high accuracy but require expensive retraining phases that violate lightweight resource constraints.
To achieve adaptive, lightweight anomaly detection without heavy operator tuning, MicroView utilizes frequent direction sketches. Instead of appending new metric samples to a growing history matrix—an operation that prohibits real-time execution—MicroView approximates the data stream via a compact sketch matrix. The system continuously computes the reconstruction error of incoming samples against this sketch. When the reconstruction error exceeds a dynamic threshold, an anomaly is flagged.
Hardware Offload via IPUs
Even lightweight streaming sketches consume valuable CPU cycles if executed on host general-purpose processors. To completely eliminate host interference, MicroView offloads the sketch execution pipeline to Infrastructure Processing Units (IPUs) (specifically validated on BlueField-2 Data Processing Units).
The execution flow operates as follows:
- Direct Memory Access (DMA): The IPU accesses the host memory via low-latency RDMA, pulling local metrics from exporters at sub-second frequencies without waking up host CPU cores or interrupting containerized application logic.
- Streaming Sketch Processing: The IPU core processes the incoming metric vectors through the streaming matrix sketch, updating subspace approximations and calculating reconstruction errors locally.
- Feedback Generation: Upon detecting an anomalous state, the IPU generates compact local feedback detailing the specific performance problem and the symptom-bearing metrics.
- Downstream Exporter Integration: This feedback is fed directly into observability exporters—not just metrics exporters, but also tracing pipelines—enabling intelligent, biased sampling decisions across the observability stack.
Experimental Setup & Results
▶ Watch: Lightweight matrix sketching for anomaly detection (10:00)
The evaluation of MicroView assesses its capacity to drive smarter sampling decisions, its trace coverage under anomaly injection, and its hardware scalability on DPU infrastructure.
Datasets and Workloads
The authors evaluated MicroView across multiple microservice benchmark workloads deployed in a Kubernetes environment. To stress-test the detection engine, the evaluation explicitly injected short-lasting performance anomalies (durations strictly under 30 seconds), mimicking transient cloud bottlenecks, garbage collection pauses, and resource contention spikes.
Baselines
MicroView was benchmarked against several established and theoretical approaches:
- Head-Based Samplers: Standard random sampling mechanisms implemented in OpenTelemetry and Prometheus.
- Exact Dimensionality Reduction: Offline PCA/SVD baselines to measure the fidelity trade-off of streaming matrix sketching.
- Threshold-Based Approaches: Static threshold alerting (representing an ideal low-overhead baseline with poor adaptability).
- Autoencoders: Neural network-based anomaly detectors (representing high accuracy paired with impractical CPU/GPU retraining overhead).
Headline Results
- Trace Coverage: In evaluating a biased trace sampler designed to capture symptomatic traces, MicroView matched or exceeded the coverage provided by impractical exact dimensionality reduction baselines, and vastly outperformed standard head-based random sampling while keeping auxiliary overhead strictly bounded.
- Throughput and Overhead: Measured on a single BlueField-2 IPU core, MicroView successfully sustained polling and sketching loops for up to 256 Kubernetes pods simultaneously. When comparing data collection throughput during active scraping loops, MicroView outperformed deep learning alternatives (autoencoders) while avoiding the severe host CPU saturation associated with centralized collection paradigms.
Practical Implications
▶ Watch: Evaluation results on biased trace sampling and scalability (14:00)
MicroView provides a blueprint for infrastructure and platform engineering teams wrestling with escalating observability bills and CPU tax in cloud-native deployments.
- Infrastructure Cost Reduction: By shifting intelligence to the edge and filtering redundant time-series data prior to remote ingestion, organizations can drastically curtail backend storage and ingestion licensing costs (such as managed Prometheus bills) without sacrificing diagnostic depth.
- SLO Protection: Offloading metric scraping and anomaly detection to IPU/DPU hardware completely removes the "observability tax" from application CPU cores, preventing monitoring tooling from degrading customer-facing latency and request throughput.
- Actionable Telemetry over Raw Dumps: For model builders and observability tool developers, MicroView demonstrates that streaming matrix approximations can effectively bridge the gap between high-frequency local visibility and low-bandwidth centralized storage.
- Limitations: The system assumes the presence of hardware-programmable IPU/DPU infrastructure (such as BlueField DPUs) deployed within the cluster. Environments lacking hardware offload capabilities would incur host CPU penalties to execute the streaming sketches locally, altering the cost-benefit ratio.
Key Takeaways
- The Observability Tax is Real: Centralized metric collection at fine-grained intervals directly contends with application workloads, degrading request latency and throughput by up to $2\times$.
- Failure Detection is Local: While global root-cause analysis requires centralized orchestration, detecting transient microservice anomalies can be performed accurately at the edge using localized metrics.
- Streaming Matrix Sketches Enable Edge Intelligence: Frequent direction sketches provide the multivariate correlation power of dimensionality reduction without the computational burden of matrix recomputation.
- IPU Offload Isolates Workloads: Hosting anomaly detection logic on IPU/DPU hardware (such as BlueField-2) ensures zero CPU contention for core microservice applications while supporting hundreds of pods per core.
- Smarter Sampling Saves Capital: Edge-driven anomaly detection empowers observability exporters to capture rare, symptomatic traces and metrics dynamically, maximizing storage utility and slashing long-term storage expenditures.
About the Speaker(s)
Alessandro Cornacchia is a researcher at the King Abdullah University of Science and Technology (KAUST), focusing on systems and cloud observability. His co-authors include Muhammad Bilal and Marco Canini, also from KAUST, alongside Theophilus A. Benson, a prominent systems and networking researcher at Carnegie Mellon University (CMU) known for his work in cloud-scale measurement, management, and observability systems.
Reviews
→ Top-rated talks at 23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26)
All talks from 23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26)