Big-tech engineering

Netflix TechBlog

Engineering posts from Netflix on streaming, data, and infrastructure.

Netflix TechBlog · 13 stories

Recent stories

Grouped by topic area, with each story's summary and the places it was discussed.

Summaries are written by AI from the linked sources. Open the source for full context.

AI & Machine Learning7 stories

Engineering AI Discover

netflixtechblog.com · 17 Nov

Artificial Intelligence · Backend · Large Language Models · Software Architecture · AI Agents

Netflix built AI Discover around a governed intelligence layer that combines LLMs with recommendation systems to create steerable TV discovery.

Members choose themes, receive grounded title rows, explanations and narrower options, while a controller validates plans and an executor runs typed capabilities with parallelism, fallbacks and offline traces. Asynchronous serving preserves immediate TV feedback despite slow generation. Code-based safety, catalog grounding, model-agnostic components, Memory Hub and member feedback support reliability, experimentation and personalization.

Fact-Checking at Scale: Building a More Accurate and Efficient Synopsis Factuality System

netflixtechblog.com · 9 Nov

Artificial Intelligence · Large Language Models · Machine Learning · NLP

Netflix built a cascade factuality service for checking show- and episode-level synopses at scale.

It combines specialized Literal and Implicature Judges, confidence-gated escalation, and targeted Stage-2 rechecks of uncertain claims. Compared with the holistic baseline, the system reduces show-level cost by 52.4%, raises Recall–FAIL from 0.77 to 0.86, and increases overlap with human rationales from about 69% to 82%. Full-show summary context also improves episode-level evaluation.

Making Failure Diagnosis Reliable with Pensive AI

netflixtechblog.com · 26 Oct

Artificial Intelligence · Backend · Big Data · Large Language Models · Software Architecture

Netflix built Pensive AI to extend deterministic Pensive with AI-assisted error extraction and on-demand failure diagnosis across data workloads.

It identifies error spans by line numbers, preserves original logs, streams and caches debugging responses per failed step attempt, and supports APIs, MCP, and Data Portal. AI extraction now covers 100% of failures; users without it performed 321% more manual log-exploration actions. Archived logs, evaluations, tracing, deadlines, and release gates control quality, latency, cost, and compatibility.

Multi‑Ratio Video Resizing for Mobile Feed and Marketing

netflixtechblog.com · 26 Oct

Artificial Intelligence · Computer Vision

Netflix built an automated multi-ratio video cropping system for Clips and marketing campaigns that converts 16:9 footage into 9:16, 4:5, and 1:1 versions.

The pipeline detects shots, uses Active Speaker Detection to split conversations, identifies focus regions from faces and saliency, and applies smoothed temporal reframing. Integrated into internal tools, it supports review, manual adjustments, and XML export to Adobe Premiere; internal tests found it outperformed Auto Reframe on a curated evaluation set.

Integrating Netflix’s Foundation Model into Personalization applications

netflixtechblog.com · 14 Oct

Artificial Intelligence · Machine Learning · Software Architecture

Netflix integrates its Foundation Model into personalization applications through three production patterns: embeddings, subgraph integration, and direct fine-tuning.

Embeddings in the Embedding Store are low-cost and broadly accessible but can become stale; subgraphs provide current representations and deeper model access at higher compute and complexity; fine-tuned models adapt to application objectives but add pipelines and SLA demands. Netflix is developing near-real-time embeddings, model distillation, and standardized APIs to improve freshness, latency, and usability.

DataJunction as Netflix’s answer to the missing piece of the modern data stack

netflixtechblog.com · 14 Oct

Data Science · Software Architecture

Netflix adopted the open-source DataJunction (DJ) as a semantic metrics layer after its experimentation platform made metric creation slow, complex, and difficult to inspect.

DJ stores metric and dimension definitions in a connected graph, parses and generates SQL, and exposes them through APIs and cube-based interfaces. This reduced onboarding friction, enabled reusable metrics, simplified integrations with tools such as Druid and Superset, and improved dashboard introspection. Netflix plans to extend DJ across general analytics and support accountable metric explanations for internal LLMs.

Measuring the Impact of Personalized Recommendations

netflixtechblog.com · 14 Oct

Artificial Intelligence · Data Science

Netflix developed a behavioral model, validated with randomized A/B tests, to measure the causal value of personalized recommendations separately from title appeal.

A low-rank choice model represents dynamic member preferences and recommendation “bonuses,” predicting counterfactual viewing and substitution. Compared with the current system, random, popularity-based, and matrix factorization recommendations reduce engagement by 16%, 12%, and 4%, respectively. Personalization also preserves diversity; its main benefit is targeting suitable titles to members, especially for medium-popularity titles, rather than mere exposure.

Programming Languages1 story

Beyond API Compatibility: Building a Tool to Measure the Blast Radius of Library Changes

netflixtechblog.com · 23 Oct

Java

Netflix built Quasar, an internal tool that measures library-change blast radius by linking API diffs to exact symbol references across consumer repositories.

It uses SCIP indexes to retain API definitions, references, dependency versions, and source locations, then compares commits and queries impact through Amazon Athena. Quasar supports usage analysis across JVM, Go, Python, JavaScript/TypeScript, and Rust; JVM compatibility and Protobuf tracing have narrower scope. Reports expose affected repositories, versions, call sites, and evidence quality, helping producers plan releases and migrations before merging.

Backend4 stories

Single-tenant Titus: VM-level isolation on a multi-tenant container platform

netflixtechblog.com · 22 Oct

Backend · DevOps · Kubernetes · Performance · Software Architecture

Netflix introduced single-tenant Titus, giving selected workloads a dedicated EC2 VM while preserving Titus’s API, deployment path, and platform-managed patching.

Federation allowlists eligible jobs, autoscaling provisions right-sized instances, and scheduling enforces one task per node. The mode targets stateful, high-throughput streaming and other latency-sensitive services affected by shared-kernel interference. Netflix reports improved isolation, denser remaining multi-tenant packing, and easier maintenance, while accepting slower cold starts and dedicated-node overhead; shared tenancy remains the default.

Single-tenant Titus: VM-level isolation on a multi-tenant container platform

netflixtechblog.com · 22 Oct

Backend · DevOps · Kubernetes · Performance · Software Architecture

Netflix introduced single-tenant Titus, a mode that runs one container task on a dedicated EC2 VM while preserving Titus’s API, deployment workflow, and managed host ownership.

It targets stateful, high-throughput, latency-sensitive workloads affected by shared-kernel interference in cache, memory bandwidth, networking, storage, and scheduling. Federation allowlists workloads, autoscaling provisions right-sized instances, and Kubernetes prevents colocation. Benchmarks assess throughput and P99 latency under “havoc” neighbors; dedicated nodes improve isolation, simplify patching, and can reduce fleet fragmentation, but add launch latency and sizing overhead.

TimeSeries Tiered Storage Journey: Kafka/Flink Streams to Native Cassandra Cold Reads

netflixtechblog.com · 14 Oct

Backend · Big Data · Database · NoSQL · Software Architecture

Netflix evolved its TimeSeries tiered storage from an Apache Kafka/Flink pipeline writing compacted Parquet to S3 into native Cassandra cold reads from existing S3 backups.

Immutable Time Slices use ReadOnlyCompactionStrategy to align SSTables, while custom backup Memtables cache metadata locally and fetch data chunks on demand. An optional separate Cassandra cold cluster protects hot traffic. The system now stores over 15 PB, reduced disk usage from 80% to 7%, improved p90 latency by ~30%, and keeps p99 below 500 ms.

Behind the Scenes: Evolving Netflix’s Ads Event Pipeline for Live — Part II

netflixtechblog.com · 14 Oct

Backend · Big Data · Distributed Systems · Software Architecture

Netflix rebuilt its Ads Event Publisher as a stateful Apache Flink streaming job to support spiky Live traffic, replacing synchronous Metadata Registry writes with a Kafka-based streaming join.

The job normalizes and reroutes events, matches client telemetry with serving responses within 60 minutes, deduplicates revenue events, and uses Spark recovery for delayed arrivals. Deterministic rollout and audits achieved over 99.99% agreement, removed the ad-serving critical-path dependency, retired legacy components, and processed hundreds of thousands of events per second during load tests.

Cloud & DevOps1 story

Ontology-Driven Observability: Building an End-to-End Knowledge Graph at Netflix Scale

netflixtechblog.com · 16 Oct

DevOps · Monitoring · Observability · Software Architecture

Netflix built an Observability Ontology and knowledge graph to shorten end-to-end incident investigations that can consume about four hours reconstructing relationships across telemetry, deployments, alerts, and discussions.

Using RDF, OWL, SHACL, and SPARQL, the graph stores validated entities and typed triples in QuipuDB; ordered enrichers and a correlation engine convert stochastic inputs into queryable evidence. AutoRCA uses this shared vocabulary to rank root-cause hypotheses, while human review remains required. The graph validates applications against a catalog of roughly 49,000 entries.

Add Netflix TechBlog to your Snapbyte.dev digest and receive its posts summarized.Build your digest