DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Related

  • What Cloud Engineers Actually Need to Know About AI Infrastructure
  • How to Build the Right Infrastructure for AI in Your Private Cloud
  • Provision Cloud Infrastructure Using Google Duet AI
  • Dynatrace Perform: Day Two

Trending

  • From Data Movement to Local Intelligence: The Shift from Centralized to Federated AI
  • Jeffrey Microscope for Generating Flame Graphs in Java
  • Multithreading in Modern Java: Advanced Benefits and Best Practices
  • Why Developers Must Be Part of the Customer Validation Process
  1. DZone
  2. Software Design and Architecture
  3. Cloud Architecture
  4. Why Traditional Cloud Infrastructure Breaks AI Workloads in Production

Why Traditional Cloud Infrastructure Breaks AI Workloads in Production

Legacy cloud infrastructure can't keep pace with AI workloads. Let's deep dive into the key failure points and how to fix them in production.

By 
Mohit Shah user avatar
Mohit Shah
·
Aug. 11, 26 · Analysis
Likes (0)
Comment
Save
Tweet
Share
54 Views

Join the DZone community and get the full member experience.

Join For Free

An autoscaling policy can be wrong for months without a single error firing. It isn't built to fail loudly; it's built to keep response times steady, and it'll keep doing exactly that even while making the worst possible call for a GPU-bound job. 

The mismatch hides in plain sight because nothing looks broken. It stops doing its job without ever raising an alarm, and the first sign usually isn't an alert but a cost report or a training job stuck in a queue. 

Here's a fairly standard Kubernetes Horizontal Pod Autoscaler config: 

YAML
 
apiVersion: autoscaling/v2 

kind: HorizontalPodAutoscaler 

spec: 

  minReplicas: 2 

  maxReplicas: 10 

  metrics: 

    - type: Resource 

      resource: 

        name: cpu 

        target: 

          averageUtilization: 70 


For a stateless web service, this is close to perfect. A pod gets added, utilization dips, another request comes in, utilization climbs again. The whole loop runs slowly enough for the cooldown window to work exactly as intended: plenty of time to observe and react. 

A training job doesn't move like that. It sits at zero for two days, then needs ten GPUs immediately, then drops back to zero the second the job finishes. CPU utilization barely registers the change, because CPU was never the constraint to begin with. So the autoscaler, watching the wrong metric entirely, does nothing useful.

Trigger works well for break down for

CPU utilization  

Steady, request-driven traffic  

GPU-bound training jobs  

Queue depth / GPU utilization  

Bursty, batch-oriented AI workloads  

Legacy web services  

 
Autoscaling wasn't wrong here, exactly. It kept solving the problem it was built for, one that had already stopped being the problem sitting in front of it.   

The GPUs Were Right. The Data Never Arrived. 

There's a second version of this same trap that's easier to miss. Even with the right trigger metric, GPUs can sit idle waiting on data they can't ingest fast enough. Storage throughput and network bandwidth that worked for traditional applications can become bottlenecks when training jobs move terabytes at scale. An idle GPU waiting on data still costs money, but it rarely appears as an autoscaling problem. 

When the Infrastructure Looks Fine, and the Model Doesn't  

Once a model is live and behaving, the infrastructure looks fine. CPU healthy, memory healthy, no alerts firing. Somewhere down the line, though, a flagging rate or an approval rate starts drifting, and nothing in the infrastructure layer notices. Prometheus, Grafana, and OpenTelemetry confirm the service is healthy. None of them tell you whether the model's decisions are still good. 

That's the split most teams don't plan for going in: infrastructure health and model health are two completely different signals, and only one of them shows up in the tools most cloud teams already trust.

Data Quality Still Determines AI Performance  

Trace either failure back far enough and it rarely ends at the model. McKinsey's research, AI Data Readiness: The Key to Scaling Impact, found more than two-thirds of high-performing organizations name data, not model selection, not compute, as the real constraint on scaling AI. It shows up constantly in practice: a CRM system, a billing platform, and a support desk defining the same customer three different ways. MLOps tooling can track model versions and deployments, but it cannot fix unreliable data underneath the model. Versioning is not the same as fixing. 

Models rarely fail because they cannot process data. They fail because they process unreliable data with the same confidence as accurate data. 

The Regulator's Question Has No Engineering Answer  

Eventually, someone always asks the harder question, and it usually isn't an engineer who asks it. A lending platform turns an application down, and the applicant pushes back. A regulator wants to know exactly how that decision got made. Without an audit trail connecting that specific outcome back to the specific inputs the model saw, there's no real answer to give, regardless of how accurate the model has been on average. That almost never blocks a proof of concept. It blocks production, on a timeline nobody controls.  

Cloud Placement Becomes a Production Decision for AI Workloads  

There's a fourth complication sitting underneath all of this, one that surfaces even later. Where a workload actually runs stops being a footnote once AI enters the picture. AI workloads introduce new constraints around hardware availability, latency, cost, and regulatory requirements. Some workloads have to stay within a specific country's borders for regulatory reasons. Others only perform well on hardware a specific provider happens to offer.

A team standardized on one cloud for everything else discovers, usually the hard way, that AI doesn't respect that standardization.  

The challenge is no longer choosing one cloud provider. It is deciding where each workload can run effectively while balancing performance, cost, and compliance. 

What Gets Built Before the Next Incident, Not After 

None of these four problems — autoscaling, observability, data, governance, and placement — show up in a pilot. That's exactly why they're expensive.  

The autoscaling policy either scales for GPU load or it doesn't. The observability stack either catches a model quietly getting worse, or it only notices when a server goes down. The data feeding the model is either governed enough to trust or it isn't. An audit trail either exists before the first real customer sees an output, or it gets built after a regulator asks for one. Someone has either mapped out where each workload needs to run, or that decision is still riding on wherever the last project happened to land.  

Right now, real value is going to the teams that got the boring infrastructure work right, not the teams with the fanciest model. 

AI Infrastructure Cloud

Opinions expressed by DZone contributors are their own.

Related

  • What Cloud Engineers Actually Need to Know About AI Infrastructure
  • How to Build the Right Infrastructure for AI in Your Private Cloud
  • Provision Cloud Infrastructure Using Google Duet AI
  • Dynatrace Perform: Day Two

Partner Resources

×

Comments

The likes didn't load as expected. Please refresh the page and try again.

  • RSS
  • X
  • Facebook

ABOUT US

  • About DZone
  • Support and feedback
  • Community research

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 215
  • Nashville, TN 37211
  • [email protected]

Let's be friends:

  • RSS
  • X
  • Facebook