The pursuit of an autonomic scale and efficiency system for Microsoft 365: Making it as easy as breathing
Microsoft 365's Cloud Profiling and Reporting Pipeline continuously profiles 1000+ services, capturing CPU, allocations, rooted and duplicated memory, exceptions, IO, GC pause stacks and blocking latency. It feeds that production data back to engineers through Visual Studio code lens cost trends, Roslyn analyzers for efficient patterns, and pull request bots that comment on efficiency opportunities. Anomaly detection over the dataset flags code-level resource regressions through heatmaps and routes them into incident tooling. A flame-graph viewer supports shared issue tagging and trending over time. The stated goal is a self-optimizing cloud that eventually uses AI tools like PerfLens to fix inefficient code automatically.
Related posts
- Capacity Efficiency at Meta: How Unified AI Agents Optimize Performance at Hyperscale
Meta Engineering easyNoviceMeta's Capacity Efficiency Program uses one AI agent platform for two jobs: finding performance optimizations (offense) and fixing production regressions (defense). The platform has two layers. MCP tools are single-purpose interfaces for querying profiling data, config history, code and docs, and skills encode senior engineers' reasoning about which tools to use and how to read the results. FBDetect catches regressions as small as 0.005%, and its AI Regression Solver turns root-caused regressions into fix-forward pull requests sent to the original author. On offense, agents turn efficiency opportunities into ready-to-review code. Meta reports that automated diagnosis cuts about 10 hours of investigation to about 30 minutes, and the program has recovered hundreds of megawatts of power.
- DrP: Meta’s Root Cause Analysis Platform at Scale
Meta Engineering easyNoviceDrP is Meta's root cause analysis platform that lets engineers codify incident investigation playbooks as "analyzers" using an SDK with helpers for anomaly detection, event isolation, time series correlation and dimension analysis. Analyzers are backtested in code review, chained across dependent services, auto-triggered by alerts, and run on a multi-tenant backend with a request queue and worker pool. A post-processing system annotates alerts and can open tasks or pull requests for mitigation. Used by 300+ teams with 2,000 analyzers running 50,000 analyses daily, DrP has cut MTTR by 20-80%.
- Monitor your CI performance using Sentry
Sentry mediumAdeptSentry's tracing model can represent GitHub Actions workflows as traces, with each job's steps as spans, so slow steps and run-to-run variance show up the same way they would for an API request. Applied to the Sentry .NET SDK's macOS build job, it showed the Build step taking about 44 of 83 minutes. Better caching across runs and parallelized tests cut the job to about 24 minutes, a 71% reduction, and custom dashboards tracking p50/p90 showed overall workflow runs about 64% faster. Setup takes a Sentry project, a private `.sentry` repo with a `sentry_config.ini` holding the DSN, and an experimental GitHub App that reads Actions metadata. Ingested jobs count against your span quota.
- Observability At Scale — Every Byte Counts
Wise Engineering mediumAdeptFive observability changes at Wise cut monthly spend by 40%. Switching Loki chunk compression from Snappy to lz4 cut S3 storage and cross-AZ traffic by roughly 50% with negligible CPU impact. Moving the OpenTelemetry Collector to Tempo path from gzip to zstd reduced Tempo ingest by about 40%, and upgrading Prometheus to Remote Write v2 dropped daily traffic to Mimir from ~16TB to ~5.5TB. Aligning Loki's split_queries_by_interval with the ~1-hour p90 chunk span eliminated redundant chunk reads, and an AI-assisted investigation tracked down a Fluent Bit connection limit, with the overall lesson being to challenge defaults on high-volume data paths and validate against measured cost.
- Zoomer: Powering AI Performance at Meta’s Scale Through Intelligent Debugging and Optimization
Meta Engineering easyNoviceZoomer is Meta's automated profiling, debugging and optimization platform for AI training and inference across hundreds of thousands of GPUs, generating tens of thousands of profiling reports daily. It combines GPU traces (Kineto, PyTorch Profiler, DCGM), CPU profiling (Strobelight), host telemetry and NCCL communication data. Automated analyzers then detect stragglers, bottlenecks, critical paths, memory issues and parallelism imbalances, and results are shown through Perfetto-integrated timelines, dashboards and auto-generated fix recommendations. Training profiling triggers automatically around iterations 550-555 to capture steady state. Reported wins include a 75% training-time reduction for Ads models, 2-50% inference QPS gains, 10-45% inference power reductions and 25-30% speedups on 32k-64k GPU jobs.