The Cloud Should Adapt to Its Applications, Not the Other Way Around!

Sachin Ashok†*, Karuna Grewal§*, Talha Waheed†, Gangmuk Lim†, Gerard Matthew†¶, Aditya S Prerepa†,
P. Brighten Godfrey†, Justin Hsu§, Radhika Mittal†
†University of Illinois Urbana-Champaign   §Cornell University   Amazon   *Equal contribution    HotNets ’26
  1. Status quoControllers see only CPU and latency. The app is an opaque box
  2. ProblemApp insights help, but each research system builds its own brittle extractor
  3. Why nowLLM agents can read code, configs and telemetry, and run existing tools
  4. SolutionAn Application Insight Plane extracts each insight once and shares it
  5. Early resultsConcurrency models for all 100 services with code, and up to 30% lower p95
Read the full argument
Status quo
Production controllers, such as autoscalers and load balancers, treat each application as an opaque box. They see only basic signals: request rate, latency and CPU.
Opportunity
Controllers could manage applications much better if they knew application insights, such as call graphs and concurrency models, and tuned their approach to each application.
Problem
Research prototypes use such insights, but each builds its own extractor. These extractors are tied to one system and break as the application changes, so few of these ideas reach production.
Why now
LLM agents can read code and telemetry, work across frameworks, and run existing tools.
Solution
An architectural change: an Application Insight Plane (AIP) between applications and controllers, where LLM agents
  1. extract each insight once,
  2. keep it valid as the application changes, and
  3. share it with every controller.
Early results
Across 116 services in 8 apps, AIP’s concurrency model provider extracted a model for each service with source code (100 of them) and returned no model for ones without (16 of them). With AIP’s concurrency insight, Envoy cuts p95 latency by up to 30%.
Open questions
Which insights to standardize, how to keep them valid, and how to share them safely.

This page is interactive. Follow the orange instructions in each section.

1. Status quo: production controllers see each application as an opaque box

However, a much richer, fine-grained application-level view is possible.

Switch to the application-level view, then pick an insight.

Insight:

Application

an opaque box to its controllers

Basic signals
    Advanced signals (which we call application insights)

    Not visible to production controllers. Switch to the application-level view to see them.

      Research systems already use insights like these. So why don’t production controllers? Section 2 →

      2. Problem: each research system builds its own extractor

      Research systems already use application insights. But each one extracts them in its own way, even when several need the same insight.

      Real systems that build their own extractors

      Each extractor is tied to a particular language, runtime or instrumentation, is not kept up to date as the application changes, and serves only one controller.

      This is part of the reason why research systems rarely reach production.

      Yet the same few insights could serve many kinds of controllers. Section 3 →

      3. The same few insights serve many kinds of controllers

      Each kind of insight helps several kinds of controllers, so it is worth extracting once and sharing.

      Click a “Use case” to see how a controller uses that insight. Dashed boxes mark pairs that do not apply.

      So what if each insight were extracted once, and shared with every controller? Section 4 →

      4. Our solution: an Application Insight Plane

      LLM agents can now read code, configs and telemetry across languages and frameworks, and run existing tools. AIP uses them to extract each insight once, and shares it with every controller.

      Click through the four steps to follow one insight.

        What changes when controllers share one insight instead of each building their own? Section 5 →

        5. Built once, instead of once per controller

        Here, five controllers all need the same insight: the application’s call graph. Without AIP, each one builds its own. With AIP, the plane builds it once and every controller uses it.

        Change the application, or add a new controller, and compare the two sides.

        Applications change all the time. How does an insight stay correct? Section 6 →

        6. Keeping an insight valid as the code changes

        The provider extracts again only when a change touches what the insight was built from.

        • Click “Fetch insight” on the arrow, from the code to the provider.
        • Make a change, then fetch again.
        • Click a change again to undo it.

        Make a change

        
            

        Concurrency model provider

        no insight yet

          Please note: the provider’s output on this page is precomputed.

          Does the insight help a real controller, and does extraction work beyond one app? Section 7 →

          7. Early results

          Generality

          • 8 microservice applications from 7 benchmark suites, 116 services in total.
          • 100 services had source code. The provider extracted a concurrency model for each one.
          • 16 services had only deployment files. The provider abstained instead of guessing.
          LLM:
          GPT-5.5 via OpenAI Codex, the same setup for every application
          Schema:
          one for every service, ConcurrencyModel.v1
          Audit:
          a second agent checks each result against the code and configuration lines it cites

          Concurrency mechanisms found: 11 kinds across 105 components

          Servlet thread pool (Tomcat)
          53
          Goroutine per RPC (Go gRPC)
          12
          Thread per connection (C++ Thrift)
          11
          Event loop (Node.js, Netty)
          11
          Thread pool (Python gRPC, Java executors)
          5
          Queue worker (RabbitMQ consumers)
          4
          Goroutine per request (Go HTTP)
          3
          Runtime-managed pool (Java gRPC, ASP.NET Core)
          2
          Process pool (Gunicorn, uWSGI)
          2
          Async runtime (Go)
          1
          PHP worker pool (Apache)
          1

          Utility

          • Up to 30% lower p95 latency under overload.
          • Goodput at most 0.4% lower.

          Switch the setup to see which pool sets the limit.

          8. Open questions

          Which insights to standardize?

          The few kinds many controllers need, each with one schema.

          How to keep them valid?

          Record what each insight was derived from, and check it again when that changes.

          How to share them safely?

          Give each controller only what it needs, such as a thread limit rather than the code.

          9. Try it: the 3 a.m. alert

          Fix a 3 a.m. incident twice: first with today’s tools, then with AIP.

          Incidents come from a simplified queueing model of Petclinic. The numbers are illustrative.

          10. The paper in under three minutes