StreamNative Logo
VideoOct 8, 202615 mins

Immutable Events, Real-Time Decisions

Unlock Instant Access

Complete the form to start watching.

Session Overview

Learn how Together AI designs event-driven pipelines to handle billions of interactions per day across open-source model inference workloads.

In this session, Abhinav (Staff Software Engineer at Together AI) discusses the tension between immutable event streams and real-time billing decisions. He breaks down the architectural shift from slow batch jobs to streaming infrastructure built on Apache Kafka, Apache Flink, and data lakes. Discover how decoupling raw usage facts from business logic makes billing, re-rating, and backfills straightforward, and see how Together AI uses an onboarding agent to codify and automate new data pipelines end to end.

What You'll Learn

  • The core challenge of metering and pricing high-throughput GPU inference
  • Why decoupling immutable usage facts from volatile pricing logic prevents costly reprocessing
  • How Together AI structures its stream pipeline with Kafka durable queues, Flink validation gates, and Delta Lake
  • How to enforce idempotency and at-least-once processing across pipeline segments
  • Reusing the same streaming blueprint for telemetry, GPU fleet health, and CRM streams
  • Using an AI onboarding agent to generate schemas, SDK bindings, and Flink jobs from a single spec

Chapters

  • 00:00 — Introduction & the inference metering problem
  • 02:04 — Moving from batch jobs to streaming architecture
  • 04:01 — Decoupling immutable usage facts from pricing logic
  • 05:32 — End-to-end streaming architecture: Kafka, Flink & Delta Lake
  • 07:32 — Achieving idempotency & delivery guarantees across segments
  • 09:51 — Reusing the event streaming spine across new use cases
  • 10:47 — Automating pipeline scaffolding with an onboarding agent
  • 13:50 — Key takeaways: Making billing & event pipelines boring

About Speaker

Abhinav Wagle

Abhinav Wagle Abhinav Wagle is a Staff Software Engineer with over 15 years of experience building high-performance data and AI-driven systems at scale. Currently based in the San Francisco Bay Area, he brings deep expertise in real-time streaming, experimentation platforms, and distributed systems to some of the technology industry's most data-intensive environments. Abhinav currently serves as a Staff Software Engineer at Together AI, where he led a company-wide infrastructure transformation from AWS Kinesis to Kafka/Confluent Streams, reducing real-time decision-making latency from hours to minutes. Prior to that, he served as the sole technical authority at Stealth Startup, designing a cloud-native supply chain data platform built on AWS, Spark, and Delta Lake. His most formative engineering work came during nearly five years at Roku, where he was a founding member of the Experimentation Platform, an initiative he built from the ground up to support over 1,000 concurrent experiments processing 100+ petabytes of data. Earlier, at Yahoo, he architected a reinforcement learning platform using multi-armed bandits that increased click-through rates by 3–4% across properties reaching hundreds of millions of users work that formed the basis of his independently authored arXiv research paper on batched multi-armed bandits. Abhinav holds a Master of Science in Computer Science from the University of Southern California, where he conducted research in NoSQL performance benchmarking. He is a published author in both IEEE and arXiv, and is passionate about bridging rigorous academic thinking with practical, production-grade engineering.