SiriusXM Architect Says Cloud Setups Waste Third of AI Compute

The Cloud Playbook Was Written Before AI: Building Infrastructure That Delivers AI at Scale — Ai4

Ai4

Legacy cloud architectures waste roughly one-third of enterprise AI compute spend because traditional uptime metrics fail to detect semantic errors or manage non-deterministic execution paths.

AI-assisted summary of The Cloud Playbook Was Written Before AI: Building Infrastructure That Delivers AI at Scale — original source. Check the original for full context.

Source published:

Detailed notes

## Background Published by Ai4 on YouTube on August 18, 2026, this session features Jayakumar Ramalingam, Staff Software Engineer and Cloud Architect at SiriusXM. The presentation outlines why traditional enterprise cloud strategies built for predictable applications must evolve to accommodate probabilistic AI workloads, introducing a five-principle framework covering workload placement, data modernization, platform thinking, and operational resilience.

## TL;DR Jayakumar Ramalingam argues that conventional cloud monitoring metrics like uptime and low latency fail to capture semantic errors in probabilistic AI systems, resulting in significant infrastructure waste. To move AI from fragile experimentation into high-impact production, organizations must treat AI as an end-to-end workflow rather than an isolated model. Ramalingam outlines practical architecture strategies, including matching workload placement to data gravity and compliance constraints, building modular components backed by centralized data foundations, and replacing expensive retry loops with decision-quality observability and graceful batch degradation.

## Atmosphere & style The talk has a pragmatic, engineering-grounded tone that bypasses standard industry hype to focus on hard operational realities and cost optimization. Ramalingam delivers his insights in a clear, structured, and analytical manner, methodically unpacking real-world pipeline trade-offs from latency budgets to data governance. Watching the session feels like sitting in on a high-level systems architecture review tailored for enterprise engineering leaders navigating production scale.

## Key takeaways - [00:04](https://www.youtube.com/watch?v=_qh2-KQRfbo&t=4s) Traditional infrastructure metrics like uptime and low latency are insufficient for probabilistic AI, which requires monitoring for semantic correctness, decision quality, and output drift. - [00:04](https://www.youtube.com/watch?v=_qh2-KQRfbo&t=4s) Enterprise AI adoption outpaces tangible ROI largely because unoptimized deployments and compute-heavy workflows generate massive infrastructure waste. - [03:09](https://www.youtube.com/watch?v=_qh2-KQRfbo&t=189s) AI workloads follow dynamic, probabilistic runtime execution paths without new code pushes, making capacity planning and cost forecasting far more complex than deterministic systems. - [03:09](https://www.youtube.com/watch?v=_qh2-KQRfbo&t=189s) Sustainable architecture must be anchored in business outcomes, ownership, and acceptable risk rather than pursuing technical complexity for its own sake. - [03:09](https://www.youtube.com/watch?v=_qh2-KQRfbo&t=189s) Optimization cannot focus solely on model inference; it must address the entire end-to-end workflow, including signal ingestion, feature stores, retrieval, and ranking. - [07:00](https://www.youtube.com/watch?v=_qh2-KQRfbo&t=420s) Workload components should be strategically distributed across public cloud, on-premises, and edge environments depending on data gravity, regulatory governance, and latency budgets. - [07:00](https://www.youtube.com/watch?v=_qh2-KQRfbo&t=420s) Data scrubbing, masking, and governance policies should execute close to the data source before routing payloads to centralized or third-party inference endpoints. - [09:30](https://www.youtube.com/watch?v=_qh2-KQRfbo&t=570s) Modular pipeline design with swappable components allows engineering teams to replace or upgrade foundation models without breaking upstream data flows or downstream consumers. - [09:30](https://www.youtube.com/watch?v=_qh2-KQRfbo&t=570s) Democratizing enterprise data through shared data lakes and centralized feature stores prevents teams from duplicating context-generation and MLOps tooling. - [12:29](https://www.youtube.com/watch?v=_qh2-KQRfbo&t=749s) AI observability must center on decision quality by tracking context, model versions, and output telemetry, while balancing the operating cost of automated feedback loops. - [12:29](https://www.youtube.com/watch?v=_qh2-KQRfbo&t=749s) Standard retry patterns double compute costs in probabilistic systems; architectures should instead enforce strict latency budgets and gracefully degrade to precomputed batch signals. - [16:31](https://www.youtube.com/watch?v=_qh2-KQRfbo&t=991s) Formal AI architecture reviews should evaluate quantifiable business outcomes and workload placement before scaling compute resources to move reliably into production.

## Detailed walkthrough ### [00:04](https://www.youtube.com/watch?v=_qh2-KQRfbo&t=4s) Rethinking Cloud Architecture for Non-Deterministic AI

Traditional cloud engineering playbooks were built around deterministic, predictable systems where operational health is straightforward to measure. In standard applications, as long as the infrastructure is up, latencies look healthy, and HTTP error rates remain at zero, engineers assume everything is running smoothly. However, the probabilistic, non-deterministic nature of AI workflows fundamentally breaks this paradigm. A model can return a fast response with zero technical errors, yet generate an answer that is poor quality, inaccurate, or entirely out of context. Relying solely on conventional infrastructure metrics creates a blind spot, requiring teams to layer on deep decision observability, quality evaluations, and adaptive fallback mechanisms.

```mermaid flowchart TD accTitle: Traditional vs AI Operational Telemetry subgraph Traditional["Traditional Cloud Metrics"] T1["System Availability"] T2["Low Latency"] T3["Zero HTTP / App Errors"] end subgraph Gap["Observability Gap"] G1["Probabilistic / Non-Deterministic Output"] end subgraph AIReqs["AI Cloud Requirements"] A1["Contextual Quality Checks"] A2["Drift & Feedback Telemetry"] A3["Dynamic Fallback & Degradation"] end Traditional --> Gap Gap --> AIReqs ```

Enterprise adoption numbers show a stark divergence between ambition and real-world efficiency. While organizations across every industry are aggressively piloting and adopting AI, the actual return on investment and tangible business outcomes remain nowhere close to matching adoption rates. Much of this friction stems from massive infrastructure waste. AI workloads are inherently compute-heavy, but when deployed without principled architectural optimization, systems consume exorbitant compute resources without generating commensurate value.

- Traditional infrastructure monitoring tracks uptime, latency, and error codes, but fails to capture qualitative model decay or semantic errors. - Broad enterprise AI adoption has not translated into proportional business returns due to integration challenges and unoptimized deployments. - Infrastructure waste accounts for roughly one-third of overall compute expenditure when AI workloads are run on architectures not tailored for probabilistic systems.

---

[03:09](https://www.youtube.com/watch?v=_qh2-KQRfbo&t=189s) Architecture Anchors and End-to-End Workflow Optimization

A primary driver of infrastructure waste is the unpredictability of AI workloads compared to fixed-path enterprise applications. In traditional software engineering, changes are tightly managed via controlled releases; if no code has been pushed, the application executes a known, static execution path. In AI systems, however, the execution path can deviate drastically at runtime even without any new code deployments. This dynamic behavior makes capacity planning and cost forecasting exceptionally complex, especially since the same underlying workflows and resources often support both real-time inference and recurring training or fine-tuning cycles.

Simply throwing more compute at an AI application does not make it efficient. Engineering teams often fixate on "technical excellence" for its own sake, chasing complex, highly powerful implementations because modern AI toolchains make rapid prototyping deceptively easy. Sustainable architecture requires grounding every system in business anchors: establishing clear ownership, defining baselines for new or iterative systems, and determining the acceptable level of business risk. In high-scale recommendation engines, for example, logging and interventions must be calibrated to risk tolerances to avoid serving stale or completely irrelevant recommendations.

```mermaid flowchart LR accTitle: End-to-End Recommendation Engine Workflow subgraph IngestStage["Signal Ingestion"] A["User Signals & Events"] --> B["Data Governance & Scrubbing"] end subgraph ProcessStage["Processing & Scoring"] B --> C["Feature Store & Context"] C --> D["Candidate Retrieval & Ranking"] end subgraph InferenceStage["Serving"] D --> E["Inference Engine / LLM"] E --> F["Response & Observability"] end ```

Crucially, architecture must treat AI as a complete, end-to-end workflow rather than just an isolated machine learning model. A complete recommendation workflow entails ingesting real-time user signals, processing and computing features, retrieving candidate items, ranking them, and finally passing structured context to an inference engine. Optimization cannot be limited to model inference; every stage of the pipeline must achieve enterprise-grade architectural maturity to eliminate waste and deliver reliable outcomes.

---

[07:00](https://www.youtube.com/watch?v=_qh2-KQRfbo&t=420s) Strategic Workload Placement and Managing Constraints

Optimizing an AI system requires strategically distributing workload components across different execution environments based on technical and regulatory constraints. Factors such as data gravity, strict governance policies, compliance requirements, and latency budgets dictate that no single environment—whether public cloud, private cloud, on-premises infrastructure, or edge devices—is universally ideal for every stage of an AI pipeline.

For example, when strict data governance rules govern user information, the initial data ingestion, governance validation, and contextual reduction steps should execute directly alongside where the data resides. Sensitive data can be masked, filtered, or summarized locally before any payload is routed to a shared internal inference engine or a third-party managed model endpoint. Conversely, highly responsive or autonomous applications require inference models or lightweight policy engines to sit directly on edge devices to eliminate network round-trip latencies for time-critical decisions.

- **Data Gravity and Governance:** Place preliminary data processing and policy filters close to the data source to prevent unauthorized data exposure. - **Hybrid Deployment Models:** Combine dedicated private infrastructure, local on-premises policy engines, and public cloud endpoints based on isolation and scale requirements. - **Edge Inference:** Deploy models directly to edge nodes or user devices for autonomous or latency-sensitive interactions where cloud calls introduce unacceptable delays.

---

[09:30](https://www.youtube.com/watch?v=_qh2-KQRfbo&t=570s) Modular Workflows and Enterprise Data Democratization

Modernizing AI workflows requires building modular, loosely coupled architectures with swappable components. By cleanly isolating retrieval mechanisms, feature stores, and inference layers, engineering teams ensure that their systems remain flexible over time. If a specific foundation model is deprecated, experiences downtime, or needs to be swapped for a more cost-effective alternative, a modular pipeline allows the model component to be replaced without destabilizing upstream feature stores or downstream consumers.

```mermaid flowchart TD accTitle: Modular Architecture with Enterprise Shared Foundation subgraph DataFoundation["Enterprise Data & Model Layer"] DL["Data Lakes & Democratized Data"] FS["Shared Feature Store"] BM["Common Context & Batch Models"] end subgraph AppWorkflows["Modular Application Workflows"] direction LR W1["Retrieval Module"] --> W2["Ranking Engine"] W2 --> W3["Swappable Model / LLM"] end DataFoundation --> AppWorkflows ```

While individual teams require local architectural flexibility, the broader organization benefits from unified data and operational platforms. Because AI systems are fundamentally data-intensive, democratizing access through centralized data lakes with common data standards enables models to extract meaningful cross-departmental context. Shared infrastructure for context batching, feature generation, and MLOps tooling prevents individual teams from reinventing the wheel and automating redundant, isolated workflows across the enterprise.

---

[12:29](https://www.youtube.com/watch?v=_qh2-KQRfbo&t=749s) Decision Quality Observability and Graceful Degradation Strategies

Because infrastructure availability metrics do not reflect semantic correctness, AI systems require multi-level observability centered on "decision quality." This entails tracking the precise input context, model version, runtime configuration, and generated output for every interaction. However, automated continuous feedback loops and drift correction can easily become more expensive to operate than the primary inference model itself. Engineering teams must carefully calibrate when to apply automated retraining versus human intervention based on specific workload needs.

```mermaid flowchart TD accTitle: Latency Budget and Graceful Degradation Flow Req["Incoming Real-Time Request"] --> Check{"Latency Budget Check\n(e.g., < 200 ms total)"} Check -->|"Within Budget\n(< 40 ms slice)"| OnlineInf["Online Dynamic Inference"] Check -->|"Budget Exceeded"| CachedBatch["Fallback: Precomputed Hourly / Daily Batch"] OnlineInf --> Eval{"Quality Evaluation"} Eval -->|"Pass"| Deliver["Deliver Output"] Eval -->|"Fail / Drift"| CachedBatch CachedBatch --> Deliver Deliver --> Log["Log Telemetry & Context"] ```

Resilience in AI architectures requires replacing simple retry logic with intelligent, graceful degradation and fallback strategies. In traditional software, retrying a failed call is standard practice; in probabilistic AI systems, retrying an expensive inference call often reproduces the exact same semantic failure while doubling compute costs. By implementing strict latency budgets (such as an overall 200-millisecond window with early cut-offs), systems can fall back to precomputed hourly or daily batch context if online inference stalls. Graceful degradation ensures that users still receive coherent, contextual results even when real-time pipelines experience strain or partial failures.

- **Latency Budget Enforcement:** Abort slow dynamic inference paths if early processing stages exceed their allocated time slice (e.g., beyond 40 milliseconds). - **Batch Context Fallbacks:** Seamlessly substitute nearline or batch-computed signals to deliver reliable answers without total service disruption. - **Avoiding Retries:** Prevent costly, redundant inference retries that increase infrastructure burn without resolving non-deterministic model issues.

---

[16:31](https://www.youtube.com/watch?v=_qh2-KQRfbo&t=991s) Architectural Reviews and Cost-Conscious AI Playbooks

Scaling AI sustainably requires expanding traditional cloud playbooks to include rigorous architectural review questions across business and product teams. Reviewers must evaluate whether an AI feature delivers measurable, quantifiable business outcomes rather than just technical sophistication, and whether workload components are placed in optimal operating environments. If an architectural decision yields ambiguous or weak justifications, teams must step back and redesign the pipeline before scaling compute resources.

```mermaid flowchart TD accTitle: AI Cloud Architecture Review Checklist Review["AI Architecture Review"] --> Q1["Measurable Business Outcome Defined?"] Review --> Q2["Workload Placement Matched to Constraints?"] Review --> Q3["Quality & Semantic Telemetry Enabled?"] Review --> Q4["Graceful Fallback & Budget Controls in Place?"] Q1 --> Decision{"Pass Review?"} Q2 --> Decision Q3 --> Decision Q4 --> Decision Decision -->|"Yes"| Deploy["Deploy to Production"] Decision -->|"No"| Rethink["Revisit Workflow & Optimize Cost"] ```

Ultimately, cloud architects must look past standard "green" infrastructure monitoring dashboards and evaluate total workflow efficiency. Treating an AI system as a unified, cost-conscious pipeline—rather than focusing entirely on a single large inference engine—allows organizations to eliminate compute waste, ensure operational resilience, and transition AI from fragile experimentation into high-impact, scalable production.

## Notable quotes > [00:04](https://www.youtube.com/watch?v=_qh2-KQRfbo&t=4s) Traditional cloud engineering playbooks were built around deterministic, predictable systems where operational health is straightforward to measure. — Jayakumar Ramalingam

> [00:04](https://www.youtube.com/watch?v=_qh2-KQRfbo&t=4s) A model can return a fast response with zero technical errors, yet generate an answer that is poor quality, inaccurate, or entirely out of context. — Jayakumar Ramalingam

> [00:04](https://www.youtube.com/watch?v=_qh2-KQRfbo&t=4s) Infrastructure waste accounts for roughly one-third of overall compute expenditure when AI workloads are run on architectures not tailored for probabilistic systems. — Jayakumar Ramalingam

> [03:09](https://www.youtube.com/watch?v=_qh2-KQRfbo&t=189s) In AI systems, however, the execution path can deviate drastically at runtime even without any new code deployments. — Jayakumar Ramalingam

> [03:09](https://www.youtube.com/watch?v=_qh2-KQRfbo&t=189s) Simply throwing more compute at an AI application does not make it efficient. — Jayakumar Ramalingam

> [03:09](https://www.youtube.com/watch?v=_qh2-KQRfbo&t=189s) Sustainable architecture requires grounding every system in business anchors: establishing clear ownership, defining baselines for new or iterative systems, and determining the acceptable level of business risk. — Jayakumar Ramalingam

> [03:09](https://www.youtube.com/watch?v=_qh2-KQRfbo&t=189s) Crucially, architecture must treat AI as a complete, end-to-end workflow rather than just an isolated machine learning model. — Jayakumar Ramalingam

> [09:30](https://www.youtube.com/watch?v=_qh2-KQRfbo&t=570s) Modernizing AI workflows requires building modular, loosely coupled architectures with swappable components. — Jayakumar Ramalingam

> [12:29](https://www.youtube.com/watch?v=_qh2-KQRfbo&t=749s) Because infrastructure availability metrics do not reflect semantic correctness, AI systems require multi-level observability centered on 'decision quality.' — Jayakumar Ramalingam

> [12:29](https://www.youtube.com/watch?v=_qh2-KQRfbo&t=749s) In probabilistic AI systems, retrying an expensive inference call often reproduces the exact same semantic failure while doubling compute costs. — Jayakumar Ramalingam

> [16:31](https://www.youtube.com/watch?v=_qh2-KQRfbo&t=991s) Ultimately, cloud architects must look past standard 'green' infrastructure monitoring dashboards and evaluate total workflow efficiency. — Jayakumar Ramalingam

## Mentioned Jayakumar Ramalingam, SiriusXM, Ai4

## Video description Jayakumar Ramalingam - Staff Software Engineer, Cloud Architect, SiriusXM

Most enterprise cloud strategies were designed for predictable applications—not probabilistic AI systems that consume dynamic data, take autonomous actions, and create difficult to forecast costs. This talk will explain why those traditional assumptions must change as organizations move AI from experimentation into production. I will introduce five practical principles covering strategy alignment, workload placement, application and data modernization, platform thinking, and operational resilience. Attendees will learn how business outcomes, data constraints, operating cost, reliability, and security should shape architecture decisions. Join this session to leave with a practical framework for determining whether your cloud strategy is truly ready to deliver AI at scale.

[Source](https://www.youtube.com/watch?v=_qh2-KQRfbo)

中文简报

SiriusXM架构师称云架构浪费三分之一AI算力 传统云架构浪费了企业约三分之一的AI算力支出,因为传统的正常运行时间指标无法检测语义错误或管理非确定性执行路径。 Jayakumar Ramalingam认为,正常运行时间和低延迟等常规云监控指标无法捕捉概率性AI系统中的语义错误,从而导致严重的基础设施浪费。为了将AI从脆弱的实验阶段推向高影响力的生产应用,企业必须将AI视为端到端的工作流,而非孤立的模型。Ramalingam概述了切实可行的架构策略,包括根据数据重力和合规限制合理部署工作负载、构建以集中化数据基础为支撑的模块化组件,以及用决策质量的可观测性与优雅的批处理降级来取代高成本的重试循环。 传统的云架构指标(如可用性与低延迟)已无法有效衡量概率性 AI 系统,未经架构优化的 AI 部署易造成近三分之一的算力浪费,亟需引入基于决策质量与语义正确性的深度可观测体系。 (0:04) AI 架构设计必须以实际业务成果和风险容忍度为核心锚点,将优化范围从单纯的模型推理扩展至信号摄取、特征库、候选检索与排序的端到端完整工作流。 (3:09) 受数据重力与合规治理限制,企业应在数据源附近就地完成数据清洗与脱敏,并通过松耦合、模块化的管线设计确保底层大模型能够随时无缝替换与升级。 (7:00) AI 系统需要建立严格的延迟预算与平滑降级机制,在实时推理超时或出现语义偏移时回退至预计算批处理结果,避免因盲目重试产生高额无效算力消耗。 (12:29)

Reading summary

According to the Ai4 presentation, traditional cloud playbooks designed for deterministic software break down in artificial intelligence systems, where probabilistic outputs require tracking semantic decision quality rather than basic infrastructure uptime. Delivering scalable, cost-effective AI requires treating systems as end-to-end workflows, deploying modular components across hybrid environments, and enforcing graceful degradation to curb rampant compute waste. Observability Limits in Probabilistic Workloads (0:04) Traditional cloud operations rely on deterministic indicators such as infrastructure uptime, low latency, and zero HTTP error rates to confirm system health. In probabilistic AI workflows, these conventional metrics create a dangerous operational blind spot. A model can return a fast response with zero technical errors while producing an answer that is poor quality, inaccurate, or completely out of context. Relying solely on basic availability metrics fails to detect semantic errors, drift, or qualitative degradation. This operational disconnect drives a substantial wedge between enterprise AI adoption and actual business returns. Although organizations are aggressively deploying AI systems, their investments often fail to generate proportional value due to architectural inefficiencies. The source notes that infrastructure waste accounts for roughly one-third of total compute expenditure when probabilistic AI workloads are deployed on legacy architectures that are not structured for non-deterministic execution. Pipeline Modularity and Strategic Workload Placement (3:09) Sustainable AI deployment requires evaluating the entire end-to-end workflow rather than treating model inference in isolation. In systems such as high-scale recommendation engines, the architecture spans real-time signal ingestion, data governance, feature stores, candidate retrieval, ranking, and final inference. Unlike traditional enterprise software with static, controlled code paths, AI execution paths can deviate drastically at runtime without any new code deployments. Engineering teams must anchor systems in business risk baselines and modular designs, ensuring foundation models can be swapped without destabilizing upstream feature stores or downstream consumers. Workload placement must account for data gravity, regulatory governance, and latency budgets across hybrid environments. Sensitive data should be ingested, validated, and masked locally where the data resides before routing payloads to centralized or third-party inference endpoints. Conversely, time-critical or autonomous applications require deploying lightweight models and policy engines directly to edge devices to eliminate network round-trip delays. Graceful Degradation and Decision Quality Controls (12:29) Because uptime telemetry does not reflect semantic accuracy, AI architectures require multi-level observability focused on decision quality by logging exact input context, model versions, configurations, and generated outputs. However, automated continuous feedback loops and drift correction can easily become more expensive to run than the primary inference model itself, requiring teams to selectively balance automated retraining against human intervention based on specific risk tolerances. Resilience also requires abandoning traditional software retry patterns. In probabilistic systems, retrying a failed inference call frequently reproduces the same semantic error while doubling compute costs. Architectures should instead enforce strict latency budgets—such as an overall 200-millisecond window with early cut-offs at 40 milliseconds—and execute graceful degradation. If online dynamic inference stalls or breaches its budget, the system can seamlessly fall back to precomputed hourly or daily batch caches, providing reliable responses without compounding infrastructure spend. Institutionalizing Rigorous AI Architectural Reviews (16:31) Scaling AI sustainably requires expanding cloud playbooks to mandate rigorous architectural reviews across business and product teams before compute resources are expanded. Modern AI toolchains make rapid prototyping deceptively easy, often tempting engineering teams to pursue technical sophistication for its own sake. Architectural reviews must verify that every AI implementation connects directly to measurable business outcomes and clearly defined risk baselines. Enterprises must also prevent fragmented teams from building duplicative, isolated workflows. Centralized data lakes with common data standards, shared feature stores, and unified context batching democratize data access and improve operational efficiency across departments. If an architectural review reveals weak business justifications or unoptimized component placement, organizations must step back and redesign the pipeline rather than attempting to mask architectural flaws with raw compute. The source concludes that achieving real return on investment from AI requires moving past green uptime dashboards and isolated model benchmarking. Long-term production success depends on architecting unified, cost-conscious pipelines that combine modular hybrid placement, precomputed batch fallbacks, and outcome-driven governance.

精炼阅读摘要

传统云架构指南建立在确定性系统基础之上,无法有效应对人工智能的概率性本质;演讲指出,企业若要在规模化落地中消除算力浪费并兑现商业价值,必须将关注点从孤立的模型推理转向覆盖全流程架构、混合算力部署、决策质量监控与优雅降级机制的系统工程。 概率性系统对传统运维指标的颠覆 (0:04) 传统云计算架构主要针对确定性、可预测的业务系统设计,其运维健康度通常依赖高可用性、低延迟和零 HTTP 报错等技术指标来判断。然而,人工智能工作负载具有概率性和非确定性特征,一个模型即便在毫秒内以零系统故障返回响应,生成的内容仍可能存在事实错误、严重质量衰退或脱离上下文的问题,依赖传统监控会形成严重的运维盲区。 企业对人工智能的广泛技术采用与其实际商业回报之间存在显著脱节。演讲指出,未针对概率性系统进行原则性架构优化的企业,其算力开销中约有三分之一沦为无效浪费。此外,人工智能系统在未推送任何新代码的情况下,运行时执行路径也可能发生剧烈偏离,导致容量规划与成本预测变得异常复杂。 端到端全流程优化与模块化解耦 (3:09) 工程团队容易陷入对复杂模型和单点“技术卓越”的执念,试图通过单纯堆叠算力来解决性能瓶颈。可持续的架构必须将人工智能视为一条完整的端到端业务工作流,而非孤立的机器学习模型。以高并发推荐系统为例,完整的链条涵盖用户实时行为信号摄取、数据清洗治理、特征存储计算、候选集召回与排序,最后才是将结构化上下文传递给大语言模型或推理引擎。 为防止底层模型更迭导致整体系统动荡,架构设计必须采用松耦合、模块化的组织形式,使召回机制、特征库和模型层能够独立插拔与替换。与此同时,企业层面需要打破数据孤岛,通过集中的数据湖、共享特征库以及统一的 MLOps 工具链实现数据民主化,既能让模型提取跨部门的上下文信息,又能避免各团队重复构建低效的孤立流水线。 战略性算力分布与多约束部署 (7:00) 人工智能工作流的优化需要根据数据重力、合规隐私政策、监管要求和网络延迟预算,将不同的处理环节战略性地分配在公有云、私有云、本地数据中心和边缘设备之中。没有任何单一计算环境能够通用于整条流水线的所有阶段。 在处理强监管的用户敏感数据时,初步的数据摄取、治理校验及上下文精简应当直接部署在数据源本地,在敏感信息完成脱敏、过滤或摘要汇总后,再将其路由至共享推理中心或第三方云端 API。相反,对于需要极高响应速度或具备自主决策能力的交互场景,轻量级模型或策略引擎应直接下沉至边缘设备,以消除网络往返延迟对关键操作的阻碍。 决策质量可观测性与优雅降级 (12:29) 由于基础设施可用性无法反映语义层面的正确性,系统必须建立以“决策质量”为核心的多层次可观测体系,严格记录每次交互的输入上下文、模型版本、运行时配置及生成结果。但需要警惕的是,自动化持续反馈与模型漂移纠偏机制的维护成本可能远超主推理模型本身,工程团队必须审慎平衡自动化重训与人工介入的界限。 在系统韧性方面,传统软件常用的失败重试机制在概率性系统中往往适得其反:非确定性模型的重试不仅难以消除语义故障,反而会导致推理算力成本成倍激增。高韧性系统应当实施严格的延迟预算管理(例如设立 200 毫秒的总体窗口并在 40 毫秒的前置阶段执行超时截断),并在动态推理超时或发生质量漂移时,平滑降级至每小时或每日预计算的批处理上下文缓存,以保障服务连续性。 将传统云架构升级为人工智能原生架构,要求企业在业务、产品与技术团队之间推行严格的架构审查机制,拒绝在缺乏明确可衡量商业回报或架构依据的情况下盲目扩充算力。只有跳出单纯的基础设施健康监控表象,转而将人工智能作为全链路、成本可控且具备容错降级能力的工程体系来构建,企业才能跨越概念验证阶段的脆弱性,实现可持续的规模化生产部署。

Detailed notes — zh

## Background 该视频由频道 Ai4 于 2026 年 8 月 18 日发布在 YouTube 平台,主讲人为 SiriusXM 的主任软件工程师兼云架构师 Jayakumar Ramalingam。视频简介指出,传统企业云策略专为可预测应用设计,难以应对概率性 AI 系统的动态数据消耗、自主决策及不可预测的成本,本场演讲旨在分享五大核心原则,帮助架构师构建真正能够规模化交付 AI 的云基础设施。 ## TL;DR 演讲指出传统的确定性云运维指标在概率性 AI 时代全面失效,导致约三分之一的算力沦为无形浪费。由于模型即使在无代码变更时也会出现行为漂移,系统必须从关注单一的技术存活指标转向度量端到端的决策质量与真实业务产出。为此,架构师需遵循业务锚点驱动、依据数据引力与合规约束进行工作负载放置、实施模块化解耦与企业级平台化思维。在运维层面,应根据延迟预算采用批处理兜底与优雅降级机制,避免高成本的盲目重试,全面重塑以业务成果和整体成本为核心的架构评审。 ## Atmosphere & style 演讲整体呈现出务实、严谨且极具工业实战特色的工程师技术风格。主讲人语气冷静沉稳,不盲目吹捧 AI 概念,而是以敏锐的批判性视角直击企业在算力浪费与监控盲区上的残酷现实。整场分享节奏紧凑、逻辑清晰,将复杂的分布式系统治理与模型可观测性拆解为具有高度实操性的系统方法论,给观众带来理性且清醒的架构思考。 ## Key takeaways - [00:04](https://www.youtube.com/watch?v=_qh2-KQRfbo&t=4s) 传统的确定性云指标在 AI 时代全面失效,即使服务正常、API 返回 200 且指标全绿,概率性 AI 系统仍可能输出脱离上下文的劣质结果,必须引入决策质量度量与回退机制。 - [02:02](https://www.youtube.com/watch?v=_qh2-KQRfbo&t=122s) 企业 AI 采纳率与实际业务回报存在巨大剪刀差,缺乏针对性优化与规划导致约三分之一的算力投入沦为无形的基础设施浪费。 - [03:09](https://www.youtube.com/watch?v=_qh2-KQRfbo&t=189s) AI 系统的非确定性打破了传统发布管控逻辑,即便代码库没有任何变更,系统仍可能因数据与上下文变化自发产生行为漂移,使容量与成本预测变得异常困难。 - [04:36](https://www.youtube.com/watch?v=_qh2-KQRfbo&t=276s) 架构设计应摆脱对技术卓越的盲目执念,紧密锚定真实产出(Outcome)、权责归属(Ownership)、效果基线(Baseline)与可接受风险水平(Acceptable risk)。 - [04:36](https://www.youtube.com/watch?v=_qh2-KQRfbo&t=276s) AI 系统优化绝不能局限于挑选单一模型,而必须对端到端工作流(从信号摄取、特征计算、检索、重排序到大模型推理)进行全局系统工程编排。 - [07:00](https://www.youtube.com/watch?v=_qh2-KQRfbo&t=420s) 工作负载的部署选址受数据引力、合规治理与网络延迟等刚性约束驱动,敏感数据需就近治理脱敏,低延迟控制逻辑则需下沉至边缘设备端执行。 - [09:30](https://www.youtube.com/watch?v=_qh2-KQRfbo&t=570s) 生产级 AI 架构应具备高度模块化解耦与可替换性,包括独立的检索模块、共享的特征源通道以及支持平滑替换模型与 API 的热插拔设计。 - [10:33](https://www.youtube.com/watch?v=_qh2-KQRfbo&t=633s) 企业层面需要平台化思维,通过数据湖与通用数据契约推动数据民主化,将特征生成、批处理与运维流水线抽象为通用资产以避免烟囱式孤岛。 - [12:46](https://www.youtube.com/watch?v=_qh2-KQRfbo&t=766s) 全量可观测性与数据回流反馈闭环的计算与存储开销极大,甚至可能超过模型推理本身,自动漂移处理与反馈机制需因地制宜、按需配置。 - [13:58](https://www.youtube.com/watch?v=_qh2-KQRfbo&t=838s) 在严格的延迟预算约束下应避免代价高昂的无脑重试,建议借助离线批处理预计算结果或轻量备用模块实现毫秒级的优雅降级与兜底。 - [16:31](https://www.youtube.com/watch?v=_qh2-KQRfbo&t=991s) 云架构评审机制应升级,摆脱对监控看板绿色技术指标的单一依赖,将业务成果、工作负载部署合理性、输出质量与端到端总体拥有成本作为核心考量。 ## Detailed walkthrough ### [00:04](https://www.youtube.com/watch?v=_qh2-KQRfbo&t=4s) 概率性系统的隐形危机:为何传统云指标在 AI 时代全面失效 在传统的云计算时代,运维与架构团队早已形成一套成熟的“云端运行手册”(Cloud Playbook)。我们习惯于依赖一套高度确定性的标准技术指标来判断系统的健康状态:系统是否可用(availability)、服务是否正常响应、错误率是否接近归零、延迟(latency)是否维持在健康阈值之内。如果这些仪表盘全部呈现绿色,工程团队就会认为一切运转良好。然而,AI 系统的本质是概率性的(probabilistic)与非确定性的(nondeterministic),这种根本属性彻底打破了旧有的监控假象。 当概率性工作流进入生产环境后,即便底层网络畅通、容器无崩溃、API 返回 200 且延迟极低,系统依然可能正在输出劣质(quality is bad)甚至完全脱离上下文(out of context)的荒谬结果。这意味着仅关注“技术健康度”(technical health)已经无法捕捉业务故障。架构师必须引入更深层次的质量检验(quality check)与全链路可观测性(observability),以此去衡量模型的真实业务产出,并在输出质量劣化时触发相应的评估机制或降级回退机制(fallback mechanisms)。 ```mermaid flowchart TD accTitle: 传统监控指标与 AI 决策质量指标的对比 subgraph Traditional["传统云指标(确定性系统)"] T1["高可用性与响应率"] --> T2["低延迟与零网络报错"] T2 --> T3["判定:系统运行正常"] end subgraph AISystem["AI 新指标(概率性系统)"] A1["技术健康指标合格"] --> A2["上下文与语义评估"] A2 --> A3{"输出质量达标?"} A3 -- 否 --> A4["触发降级与回退机制"] A3 -- 是 --> A5["交付正确决策结果"] end ``` ### [02:02](https://www.youtube.com/watch?v=_qh2-KQRfbo&t=122s) AI 采纳与业务回报的巨大落差:三分之一算力沦为无形浪费 当前企业在 AI 领域正面临残酷的现实剪刀差。放眼整个行业,绝大多数企业和组织都在加速采用 AI,AI 的采纳率(AI adoption)甚至已经处于全面铺开的状态。然而,与之形成鲜明对比的是,企业真正从中获得的业务回报率或实际成效占比,与高昂的投入相比“完全不在同一个量级”(no way close)。 这种落差背后的主要元凶之一就是严重的“基础设施浪费”(infrastructure waste)。AI 工作流本身是高度计算密集型(compute-heavy)的,如果缺乏针对性的优化与精准的使用规划,就会造成巨额的资源闲置与低效消耗。行业数据显示,当前有大约三分之一(one-third)的算力投入完全属于无谓的浪费。架构设计的目标绝不是放任这一数字继续攀升,而是要通过更合理的系统工程手段将其持续拉低。 ### [03:09](https://www.youtube.com/watch?v=_qh2-KQRfbo&t=189s) 确定性神话破灭:无需变更代码即可产生行为漂移 在传统确定性软件架构中,工程团队严格遵循变更控制流程(controlled change)。只要发布窗口关闭、没有推送新代码(not pushing any code),系统的执行路径就是固定且完全可预测的(fixed path),工程师对每一次发布的行为后果心知肚明。但在 AI 工作流中,这一基本假设被彻底颠覆:即便代码库没有发生任何变更,系统在运行现有逻辑时依然可能自发产生执行路径漂移(deviate the path),走出意料之外的路线。 与此同时,这种不确定性让容量与成本预测(forecasting)变得异常棘手。同一套工作流往往需要兼顾模型推理与再训练/微调,各阶段的资源消耗模式截然不同。许多团队陷入了一种误区,认为“只要堆砌更多算力,系统就会自然变高效”,但盲目加算力根本无法解决概率性系统的结构性问题。 | 评估维度 | 传统确定性云架构 | 概率性 AI 云架构 | |:--- |:--- |:--- | | **执行路径** | 固定路径(Fixed path),行为高度可预测 | 动态发散,相同代码亦会出现行为漂移 | | **发布关联性** | 行为变更严格受限于代码变更与部署 | 无需代码发布,工作流亦会随数据与上下文变化 | | **容量与成本预测** | 线性且易于按请求量与并发进行容量规划 | 极难预测,推理与微调交替消耗密集算力 | | **系统健康定义** | 进程存活、低报错率、网络与硬件健康 | 不仅依赖硬件可用,更依赖输出与业务决策质量 | ### [04:36](https://www.youtube.com/watch?v=_qh2-KQRfbo&t=276s) 原则一:超越纯技术卓越,以业务锚点与风险承受度重塑架构 构建 AI 架构时最常见的资源浪费,往往源于对“技术卓越性”(technical excellence)的盲目执念。AI 领域每天都在涌现眼花缭乱的技术组件和前沿工具,搭建一套功能酷炫的 Demo 比以往任何时候都要快得多。但架构师必须时刻回归几个关键的“业务锚点”(anchors): - **真实产出(Outcome)**:这项技术改进究竟能否在具体业务指标上带来实质提升? - **权责归属(Ownership)**:系统的运维、治理与长期迭代责任由谁来承担? - **效果基线(Baseline)**:若是全新启动的项目,必须确立基线;若是在已有系统上优化,必须明确比原基线多获得了什么收益。 - **可接受风险水平(Acceptable level of risk)**:系统在面对低质或错误输出时该如何介入。 以媒体和流媒体中的推荐系统(recommendation system)为例,系统必须防范提供过时的推荐(stale recommendations)或脱离用户当前上下文的推荐(out of context recommendations)。架构的本质绝非孤立地挑选一个 AI 算法模型,而是对整条端到端工作流(workflow)的严密编排:从前端海量用户信号的摄取(ingest user signals)、特征计算(compute)、候选集检索(retrieval)、重排序(ranking),到最终送入大模型执行推理。优化必须贯穿工作流中的每一个独立环节,唯有将系统推向具备“企业级成熟度”(enterprise maturity)的工业化架构,而非停留在演示原型(pilot)阶段,才能从根源上消除资源浪费。 ### [07:00](https://www.youtube.com/watch?v=_qh2-KQRfbo&t=420s) 原则二:受约束驱动的工作负载放置(Workload Placement) AI 工作负载的部署选址不存在“放之四海而皆准的理想单一环境”。公有云、私有云、边缘节点(edge)、本地数据中心(on-prem),乃至专有的模型服务 API 之间各具优劣。真正决定计算放置位置的,是现实中的各种刚性约束条件——尤其是“数据引力”(data gravity)、网络延迟(latency)与合规治理(governance)。 在涉及敏感信息的数据治理场景中,部分工作流节点必须“紧贴着数据存放的位置”(sit near the data),从而在源头杜绝原始数据外泄风险。随后,工作流的下游模块通过上下文提取与脱敏策略(shrinking/hiding based on policies),将经过清洗过滤的安全数据转发给模型服务。同样,对于超低延迟密集型应用或自动化/自主控制系统(autonomous applications),决策逻辑必须直接下沉部署在设备或边缘端(edge/device),使关键指令不必经历往返云端的漫长网络跳转。 ```mermaid flowchart LR accTitle: 基于数据治理与延迟约束的混合工作负载放置策略 subgraph DataBoundary["数据受控区 (本地/专用存储)"] D1["敏感源数据"] --> D2["近数据处理节点\n(数据治理与脱敏)"] end subgraph CloudService["模型处理区 (专有/公有云服务)"] D2 --> M1["上下文构建"] M1 --> M2["模型推理调用\n(专用 API/模型集群)"] end subgraph EdgeDevice["终端执行区 (边缘节点/设备端)"] M2 --> E1["策略与控制分发"] E1 --> E2["超低延迟自主决策"] end ``` ### [09:30](https://www.youtube.com/watch?v=_qh2-KQRfbo&t=570s) 原则三:工作流模块化解耦与可替换性设计 生产级 AI 架构必须具备应对生态剧烈变化的弹性。这意味着整个业务流程必须解耦为高度模块化(modular)且灵活(flexible)的独立单元: - **解耦的检索模块(Retrieval)**:专注负责高质量上下文与知识片段的抽取,其内部实现可独立演进。 - **共享的特征源(Feature Store / Sources)**:建立标准化的特征供给通道,允许多个下游任务跨业务场景复用。 - **可热插拔的组件设计(Replaceable)**:当底层依赖的某个 AI 模型下架、API 废弃或出现严重问题时,系统必须能够以极低的代价平滑替换该模块,而不至于导致整个业务链路全面崩溃。 ### [10:33](https://www.youtube.com/watch?v=_qh2-KQRfbo&t=633s) 原则四:平台化思维——统一企业级数据、模型与运维基座 如果在团队内部强调的是工作流组件的拆分与现代化解耦,那么在整个企业层面,则必须采用平台化思维来推行“统一化”(unifying models and operations)。AI 系统高度依赖数据滋养(data intensive),如果各个业务团队各自为战、闭门造车,势必导致严重的烟囱式孤岛与研发浪费。 企业需要通过数据湖(data lakes)等技术推进数据民主化(data democratization)。虽然无需强求所有数据在最底层具备严丝合缝的固定格式,但必须建立跨团队共享的通用数据契约与统一上下文标准。同样,负责生成特征上下文或批处理计算(batching)的模型及运维流水线,应当被抽象为企业级通用资产,供所有应用共享复用。各团队如果为每一个细分功能都去独立构建专属自动化和运维底座,只会带来不可承受的管理混乱与成本黑洞。 ### [12:29](https://www.youtube.com/watch?v=_qh2-KQRfbo&t=749s) 迈向决策质量:基础监控维度的代际演进 基础设施运行指标的正常只是最基础的门槛。随着非确定性系统的深入,运维视角必须从传统的硬件/服务健康状态(infrastructure health is not enough)全方位转向对“决策质量”(decision quality)的多层级度量,这也构成了下一阶段架构评估与可观测性体系演进的核心基石。 ### [12:46](https://www.youtube.com/watch?v=_qh2-KQRfbo&t=766s) AI 可观测性、反馈闭环与漂移处理的成本考量 在构建 AI 系统时,可观测性不仅要记录模型版本、上下文环境和具体的输出内容,还要决定系统在面对异常时的反应方式。架构师需要根据实际业务需求来权衡:究竟是选择系统全自动处理模型漂移(Drift)、引入人工介入(Human Intervention),还是在架构内部直接进行模块替换。然而,构建完整的可观测性或反馈闭环往往伴随着高昂的代价。在很多实际场景中,跟踪整个信息处理链路并循环回灌数据的反馈机制,其产生的计算与存储成本甚至可能超过模型推理本身。 因此,盲目追求处处构建反馈闭环或无条件开启自动化漂移处理并非最优解。团队必须审慎评估系统的真正需求,在控制系统复杂度和成本的前提下,按需配置监控与自适应机制。 ```mermaid flowchart TD accTitle: AI Feedback Loop and Tradeoffs subgraph Observability["可观测性与监控"] Ctx["记录上下文与模型版本"] Out["捕获推理输出与漂移"] end subgraph ResponseStrategies["响应策略权衡"] Auto["自动处理漂移"] Human["人工介入审查"] Swap["模块级平滑替换"] end subgraph CostImpact["成本与效益评估"] LoopCost["反馈链路计算开销"] ROI["业务价值与ROI权衡"] end Ctx --> Out Out --> Auto Out --> Human Out --> Swap Auto --> LoopCost Swap --> ROI LoopCost --> ROI ``` - 追踪信息处理与数据回流的反馈闭环成本极高,有时甚至会超过模型本身的运行成本。 - 自动漂移处理和全量反馈闭环需要因地制宜,避免在所有场景下一刀切地开启。 --- ### [13:58](https://www.youtube.com/watch?v=_qh2-KQRfbo&t=838s) 延迟预算约束下的优雅降级与兜底策略 面对模型输出质量恶化或线上故障,团队可以通过评估新鲜度信号(Freshness Signals)、用户互动与亲和度指标来进行重新训练与调优。但在生产架构中,绝不能将所有希望孤注一掷地押在“单个大模型能给出完美响应”上。尤其在严格的延迟预算(Latency Budget)约束下,必须设计完善的降级(Fallback)方案。例如,如果整个系统的总延迟预算为 200 毫秒,当主干推理在 40 毫秒内未能返回时,就应果断熔断并切换到兜底链路。 在传统的数据库系统中,重试(Retry)是解决瞬时故障的标准手段;但在大规模运行的推荐系统或 AI 架构中,无脑重试不仅无法解决质量层面的错误,还会成倍消耗昂贵的算力成本。此时,更合理的做法是依赖按小时等周期运行的批处理(Batching)结果作为备用上下文,或切换到更轻量的预计算模块。通过这种优雅降级(Graceful Degradation),系统即使牺牲少许精准度,也能在模型完全修复前保证基本可用,避免发生灾难性的全盘崩溃。 | 机制维度 | 传统云原生系统 | AI / 大模型系统 | |:--- |:--- |:--- | | **故障恢复策略** | 依赖自动重试(Retry)与数据库主从副本切换 | 避免无脑重试,依赖轻量模块替换与优雅降级(Graceful Degradation) | | **时延超限兜底** | 超时抛错或等待长尾请求完成 | 设定严格延迟预算(如 40ms/200ms),超时立即降级至离线批处理结果 | | **核心优化目标** | 纯技术指标(如 CPU 利用率、吞吐量等“绿色指标”) | 综合质量指标(Freshness Signals、相关性)与端到端成本控制 | - 在大规模推荐与 AI 系统中,单纯重试不仅增加算力开销,还无法解决模型层面的质量错误。 - 借助离线批处理或较小规模的备用模块作为兜底,可以在主链路超时时实现毫秒级平滑过渡。 --- ### [16:31](https://www.youtube.com/watch?v=_qh2-KQRfbo&t=991s) 重塑云架构 Review:从技术指标转向业务成果与整体成本 在将 AI 深度融入云架构后,传统的架构评审(Architecture Review)机制必须随之升级。团队需要跳出纯粹的底层技术指标,主动与产品和业务部门对齐,明确系统可衡量的业务成果(Measurable Outcome),并重新审视工作负载的部署位置(Workload Placement)。如果在评审中某些关键设计问题的答案含糊不清且缺乏有力依据,就意味着必须立刻停下来重新反思并调整方案。 系统评估绝不能仅看监控大屏上那些看似一切正常的“绿色技术指标”(Green Metrics),而必须将输出质量指标与整体计算成本纳入核心考量。AI 基础设施的优化不能局限在单个大模型推理引擎的微调上,而应将整套系统的工作流视作一个有机整体。通过在云架构指南(Playbook)中扩展这些维度,企业才能在保障输出质量的同时有效压降运营成本,真正实现高性价比的大规模 AI 落地。 - 架构评审应覆盖业务成果、工作负载部署合理性以及系统降级路径等深层次问题。 - 摆脱对单一大型推理引擎的过度聚焦,转向从端到端工作流层面优化整体算力效率与云上成本。 ## Notable quotes > The Cloud Playbook Was Written Before AI: Building Infrastructure That Delivers AI at Scale — Jayakumar Ramalingam > Most enterprise cloud strategies were designed for predictable applications—not probabilistic AI systems that consume dynamic data, take autonomous actions, and create difficult to forecast costs. — Jayakumar Ramalingam > [00:04](https://www.youtube.com/watch?v=_qh2-KQRfbo&t=4s) quality is bad — Jayakumar Ramalingam > [00:04](https://www.youtube.com/watch?v=_qh2-KQRfbo&t=4s) out of context — Jayakumar Ramalingam > [02:02](https://www.youtube.com/watch?v=_qh2-KQRfbo&t=122s) no way close — Jayakumar Ramalingam > [02:02](https://www.youtube.com/watch?v=_qh2-KQRfbo&t=122s) one-third — Jayakumar Ramalingam > [03:09](https://www.youtube.com/watch?v=_qh2-KQRfbo&t=189s) not pushing any code — Jayakumar Ramalingam > [03:09](https://www.youtube.com/watch?v=_qh2-KQRfbo&t=189s) deviate the path — Jayakumar Ramalingam > [07:00](https://www.youtube.com/watch?v=_qh2-KQRfbo&t=420s) sit near the data — Jayakumar Ramalingam > [10:33](https://www.youtube.com/watch?v=_qh2-KQRfbo&t=633s) unifying models and operations — Jayakumar Ramalingam > [12:29](https://www.youtube.com/watch?v=_qh2-KQRfbo&t=749s) infrastructure health is not enough — Jayakumar Ramalingam ## Mentioned Jayakumar Ramalingam, SiriusXM, Ai4, YouTube ## Video description Jayakumar Ramalingam - Staff Software Engineer, Cloud Architect, SiriusXM Most enterprise cloud strategies were designed for predictable applications—not probabilistic AI systems that consume dynamic data, take autonomous actions, and create difficult to forecast costs. This talk will explain why those traditional assumptions must change as organizations move AI from experimentation into production. I will introduce five practical principles covering strategy alignment, workload placement, application and data modernization, platform thinking, and operational resilience. Attendees will learn how business outcomes, data constraints, operating cost, reliability, and security should shape architecture decisions. Join this session to leave with a practical framework for determining whether your cloud strategy is truly ready to deliver AI at scale. [Source](https://www.youtube.com/watch?v=_qh2-KQRfbo)

Source quotes

Jayakumar Ramalingam: The Cloud Playbook Was Written Before AI: Building Infrastructure That Delivers AI at Scale Jayakumar Ramalingam: Most enterprise cloud strategies were designed for predictable applications—not probabilistic AI systems that consume dynamic data, take autonomous actions, and create difficult to forecast costs. [0:04] Jayakumar Ramalingam: quality is bad [0:04] Jayakumar Ramalingam: out of context [2:02] Jayakumar Ramalingam: no way close [2:02] Jayakumar Ramalingam: one-third [3:09] Jayakumar Ramalingam: not pushing any code [3:09] Jayakumar Ramalingam: deviate the path [7:00] Jayakumar Ramalingam: sit near the data [10:33] Jayakumar Ramalingam: unifying models and operations [12:29] Jayakumar Ramalingam: infrastructure health is not enough

Source quotes

[0:04] Jayakumar Ramalingam: Traditional cloud engineering playbooks were built around deterministic, predictable systems where operational health is straightforward to measure. [0:04] Jayakumar Ramalingam: A model can return a fast response with zero technical errors, yet generate an answer that is poor quality, inaccurate, or entirely out of context. [0:04] Jayakumar Ramalingam: Infrastructure waste accounts for roughly one-third of overall compute expenditure when AI workloads are run on architectures not tailored for probabilistic systems. [3:09] Jayakumar Ramalingam: In AI systems, however, the execution path can deviate drastically at runtime even without any new code deployments. [3:09] Jayakumar Ramalingam: Simply throwing more compute at an AI application does not make it efficient. [3:09] Jayakumar Ramalingam: Sustainable architecture requires grounding every system in business anchors: establishing clear ownership, defining baselines for new or iterative systems, and determining the acceptable level of business risk. [3:09] Jayakumar Ramalingam: Crucially, architecture must treat AI as a complete, end-to-end workflow rather than just an isolated machine learning model. [9:30] Jayakumar Ramalingam: Modernizing AI workflows requires building modular, loosely coupled architectures with swappable components. [12:29] Jayakumar Ramalingam: Because infrastructure availability metrics do not reflect semantic correctness, AI systems require multi-level observability centered on 'decision quality.' [12:29] Jayakumar Ramalingam: In probabilistic AI systems, retrying an expensive inference call often reproduces the exact same semantic failure while doubling compute costs. [16:31] Jayakumar Ramalingam: Ultimately, cloud architects must look past standard 'green' infrastructure monitoring dashboards and evaluate total workflow efficiency.

Original transcript

[0:04] I'm here to talk about you know the cloud  playbook between the AI and the cloud you [0:10] know so this discussion is going to be like a very  high level on things that need to consider we need [0:16] to consider as a you know AI with the cloud so the  reason being the obvious reason because AI is more [0:25] likely nondeterministic so that's where you wanted  to you know how well you can optimize with the [0:32] existing architecture or the any principles that's  we have. So that's the overall idea. Uh so let's [0:40] jump in. So um starting with the initial metrics  you know like um so traditionally uh existing [0:50] applications we always go with you know uh the  standard metrics. Hey the system is available. [0:56] uh but the question I would say is like you know  mostly we go with hey is the system is responding [1:02] it's all good all the metrics are good like the  error there is no error and the latency is good [1:07] everything is good but due to the problem like  the pro probability nature of the uh workflows [1:14] so we have to consider the other part as well  like you know say for instance the quality is [1:19] bad or even the uh something that is not in right  in context so those sort of things also we need [1:25] to consider as part of your uh uh decision. So  it's most likely it's um we are thinking like [1:36] a technical health system techn technical things  also is needed. On top of that, you want uh more [1:42] addition to that like uh the quality check like  adding an observability to that which makes gives [1:48] you a better metrics so that you can you know uh  measure the outcome and then react according to [1:55] it. You can either evaluate or even you can do  various fallback mechanisms that you can have. [2:02] So that's the idea. So before even like you uh  starting to talk about those principles or ideas [2:09] uh I wanted to pull up this metrics to show  you know but this is obvious metrics. So it's [2:14] like no the AI adoption is like fully uh most  most companies or like any enterprise you see [2:21] they're already adopting or they are already  fully using the AI but is that effect that [2:28] same probability or the uh percentage that is  being shown as the return or like any outcome [2:35] it's not no way close. So that's where it is like  you know the uh we have to uh catching up and then [2:42] finetuning and then the last metrics is all is  more like you know the infrastructure waste that [2:48] we have because obviously AI is comput heavy but  at the same time if it's not uh better optimized [2:55] or used efficiently or so there are obvious wastes  that can be also be reduced which correctly shows [3:02] like you know one/ird but I think that metrics  also should be going down eventually. Okay, [3:09] let's start. So the first uh before uh thing as we  are discussing earlier like the three metrics uh [3:19] or like the three things initially we talked about  the deterministic and the control change. So here [3:26] uh if you see this is um even if you control  the release like you're not pushing any code [3:32] uh technically uh traditional systems are like  you know they are the fixed path. So you you [3:37] you are not like uh you know what is what is  in the release and you know what is going to [3:43] happen. But here though we have not pushed any  release there still your workflow can deviate [3:50] the path with the existing code itself. it can  you know do a different route. So that's that is [3:56] also one of the challengings here and obvious  forecasting. So it's forecasting because the [4:01] metrics is different. Uh on top of the technical  metrics you have to have those metrics because [4:07] uh compute is also is going to be heavy in case  of like you know the same workflow you will use [4:13] for uh the inference as well as the training. So  there are like you know the different ways you [4:19] use it but that that's where you know forecasting  is also a little bit uh for problematic. So the [4:27] uh thing is like I'm not saying uh it's not if  you add more compute it's going to be efficient. [4:36] So first thing is uh before even you use uh  start or even after you use start uh you want [4:43] to check your architecture. So because most of  the weightage uh or like the wastage that goes [4:49] is uh we think about the technical excellence  right like you uh wanted to think uh like it it [4:56] should be very powerful uh technically it should  be uh like you know high because more things with [5:01] AI there are a lot of options so that's where like  even the building things are like quite fast like [5:07] building is like you can do it much much faster  but always things we have to consider is like [5:13] the some of the anchors uh know what is the  outcome of it. So is it really helpful on any [5:20] measures and and also like the other metrics like  you know who's the ownership or like the baseline [5:27] if you're starting from scratch again you can set  your baseline if you are improving something again [5:32] you have the baseline like what is I'm getting  it and also the acceptable level of risk so that [5:37] what I mean by risk is so any any systems like in  say for instance the recommendation system uh you [5:44] you have you can you can have the metrics and log  it. There are different level of uh interventions [5:51] you can do based on the risk because you don't  want to have a stale recommendations or uh you [5:56] don't want to you know make a out of context  recommendations. So that's where you wanted [6:02] to play safely uh based on your system needs so  that you know the architecture in the sense it's [6:08] not about you know more about your AI model or  anything it is about the workflow right because [6:14] the I'm not saying you are having a cloud in the  AI but there are multiple workflows to it like [6:19] uh any recommendation system you need to ingest  all those user signals and you can compute those [6:26] and then those can be retrieved and then you have  to rank it and then you can uh pass it through to [6:30] the inference. So it's kind of a workflow. There  are multiple ways you can see how well you can [6:36] optimize it on any component not just the A model  or anything. So as a whole it has to be better [6:44] like it cannot be like a pilot or something.  So if you more have like a enterprise maturity [6:50] so that you know that makes a better outcome so  that you can at least reduce some wastage there. [7:00] uh second uh I want to talk about the you know  different constraints and based on that where [7:06] you wanted to run your like your workloads. So  constraints are like you know uh data gravity [7:13] latencies those are there but uh what I mean by  the placing is like you you can have multiple [7:19] options right like we have a public cloud or a  private cloud or a like an edge location or you [7:26] can have a dedicated model call or like a service  call. So uh there are multiple locations you have [7:33] but there is no it's like one place is a good  place. So that's where uh you wanted to based [7:39] on the constraint like say for instance if you  have uh a governance as part of the recommendation [7:44] itself if you have a data governance so in that  case uh the part of a workflow should sit near [7:51] the data so that it's not getting exposed and  then like the next flow is where you wanted to [7:59] uh you know uh have another flow that which  gets the context and then it kind of you know [8:06] uh like hides or like uh whatever uh shrinking  that it has to do based on your policies based [8:13] on the governance and then call your models  which can be uh either a dedicated service [8:17] outside or within yours or like you can have  uh like a private one and also you need to have [8:24] uh policies that needs running in your local or  on on-prem right so based on that you can have [8:30] uh some determination what uh happens out and  what happens in and also you can use that part [8:36] for a responsib uh you know you can place multiple  things in uh multiple place but I'm not saying you [8:44] you should always put things in different I'm  saying uh you should h have the constraint and [8:49] then build a system like where which can sits  in which location say for instance like in some [8:55] latency intensive applications or like you know  where some of the autonomous applications or maybe [9:03] uh like like autonomous or or like there you  have to have something in the edge or in the [9:09] device itself so that you know the latency or  some decisions you don't have to go through the [9:14] workflows. So that is where uh you have to place  it accordingly and then so it can be efficiently [9:22] you know used and then so that it makes sense  in your and the next is about modernizing the [9:30] workflow. Like I said, there are multiple uh  steps or like modules in your workflow, right? So, [9:37] it it's about making it more flexible. flexible  in the sense uh you have the more modular things. [9:44] uh you have a separate retrieval uh that does  its own job and you have a separate feature [9:50] where you have a feature source which can be  used for multiple purposes and then you know [9:57] multiple things where you can have the workflow  uh keep it uh replaceable like let's say something [10:05] uh happens in your AI or something uh you  don't have the model anymore like how well [10:11] you can easily replace it like how well this can  be efficiently handled if one of those things is [10:17] out. So that's where you have to bring the  you know better workflow where it is like [10:23] uh modular flexible and then you can extend  across it. So next one is about you know [10:33] unifying models and operations. And this might  contradict the one the other said the other one [10:38] is more like within your team like where you  wanted to modernize and then you use it across [10:44] your applications but this is more like as a  enterprise so unifying the data in the sense [10:51] uh as a you know AI systems it's definitely runs  on data like it's a data intensive so the more [10:59] uh like visibility it has like a enterprise level  data democratizations with the data links or those [11:06] sort of things if you have uh that have to be  have some commonality. I'm not saying everything [11:11] has to be structured but you can have some sort  of you know commonality so that that is easily [11:17] accessible to the uh system or like across teams  so that you can uh use with the context so that [11:24] it's helpful as a system across the enterprises  that's where like you know unifying and even [11:31] the models you have that can uh work at multiple  places you don't have to you know rebuild multiple [11:39] things say for uh as we were saying the any model  that has the context building like a batching or [11:45] something those can be used across if you have the  unified data and then the models which uh creates [11:51] your feature or any uh uh context so those can  be reused across and similarly operations can be [11:59] used across that's where you have to uh have  like a unified one rather than like you know [12:05] having a dedicated one and everyone because with  this a lot of features available with the AI you [12:11] don't want to automate things across everywhere  uh within your team or like some so that's where [12:17] u having a commonized one uh helps as a good  architecture okay then this is something related [12:29] to what we started with this is more about the  nondeterministic nature so this is how you know [12:34] infrastructure health is not enough so that's  where you wanted to have your decision quality [12:40] uh decision quality has multiple levels you  know as an observability you can say like [12:46] hey what was the context and what was the version  of the model and what was the output so multiple [12:53] things you can and also you can react to it like  automatically depends on your system needs or how [12:59] the interventions you want you want it uh like I  said automatically handle the drift or you want [13:05] a human intervention or you wanted to uh you know  kind of uh replace within your system and how well [13:13] you want it to uh automatically handle for for  many cases you know sometimes this observability [13:19] or the feedback loop that you are processing  within your AI system uh that cost more than [13:26] the model itself because this does a looping like  where it uh kind of tracks all your uh information [13:34] processing and then try to use it back. So that  also need to be cared um based on the system [13:40] needs it's not like uh everywhere you need those  loop or like uh the feedback. So based on that [13:47] and also automatic drifting is also uh based  on the needs it's not always uh really helpful [13:58] extending on that you know based on the qualities  there are various uh failures right like uh you [14:04] can have a uh like a bad quality where you can  have the evaluation we have the training back [14:10] and then multiple freshness signals you can  evaluate and then you can see the feedback [14:16] track engagements or like the affinities versus  the results. So a lot of things you can do as a [14:21] metrics as well as a training. Uh and also we  have to have a proper feedback you know rather [14:27] than relying on one big model where you push  it and expect it to have a nice uh a better [14:35] you know response. So sometimes you have to have  those fallback opportunities rather than you know [14:41] uh especially if you have a latency budget uh  where you can say like if my system runs within [14:46] like 200 milliseconds uh on that note you got  to cut it like in the like if it's not going to [14:52] happen into 40 milliseconds or something then  you can skip it to the next details because [14:59] uh batching already provides some information  which is not a online or a nearline option but [15:05] at least it gives you some context. text at least  something back today or like based on your batch [15:10] interval even some batches run hourly something  like that. So that way you are not completely [15:15] out of sync. Uh that gives and even you can  replace some of the smaller modules because [15:21] uh a recommendation system that running across  the scales uh you cannot simply retry everything [15:27] uh because as a a traditional system retry is  always an option but here retry is not going to [15:34] help even out of cost it's going to have those  errors. So how well you can optimally replace. [15:42] So because it's not like directly I can replicate  the database I can do something backwards but this [15:48] is more of a you know uh how you wanted to have  like a fallback mechanisms or you can have your [15:55] uh uh feedback loop or human intervention somehow  so that it automatically uh successfully or like [16:05] gracefully degrades your system so that uh I  mean little bit degradation without you know [16:10] total degradation so that something is giving some  kind of uh information so that that way some sort [16:17] of recovery is happening uh until you really have  something to fix. So those those are some of the [16:24] recovery especially because we are more concerned  with the quality because that's the extra metrics. [16:31] Um so with this some of these things on a high  level we discussed so this comes the question [16:36] right like first is like when the architecture  what is the outcome or something like that. [16:41] So for that outcome uh you can have it in your  review as an architecture review or you can even [16:47] expand it to your product or in the business  like hey what is my measurable outcome for that [16:53] whatever you have now so or whatever you have  going to build now and similarly the placement [16:58] of the workloads where it is happening. So those  sort of questions you know uh based on what we [17:04] discussed will give you some sort of you know  thinking or alignment where we are right now. [17:10] If some questions has a like a weaker answer to  it, unless you have a a very good reasoning for [17:18] that then it's a time to rethink about it like  maybe where it is failing or where we need to [17:24] revisit or where we need to get these things. So  that that's the idea overall. So we have those [17:35] uh all those discussions overall. So we have  to extend it because like I said the system [17:42] needs those informations right. So if you are  not providing your quality metrics if you are [17:48] not providing those um uh consideration of compute  how we well you have to have if you're not having [17:54] those uh replaceable rather than going strictly  with your uh whatever uh technical metrics or [18:02] the green metrics that you see from the system  it's not going to help. So that's where you have [18:08] to have some of those extension around your uh  playbook so that you know these are considered as [18:15] uh extended metrics on top of what you have and  so that you make your system efficient as well [18:21] as the main concern was you know reduce the  cost. That was the main concern like how well [18:25] you can optimize a as a system overall workflow  rather than like a AI model that like a one big [18:33] inference engine. uh so that's that's where uh  you have to think so that it makes a good cost [18:40] efficient metrics around it and yeah that's  all I have unless if you have any questions