惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

B
Blog RSS Feed
Google DeepMind News
Google DeepMind News
罗磊的独立博客
Martin Fowler
Martin Fowler
博客园_首页
Stack Overflow Blog
Stack Overflow Blog
Last Week in AI
Last Week in AI
The GitHub Blog
The GitHub Blog
B
Blog
C
Check Point Blog
WordPress大学
WordPress大学
G
Google Developers Blog
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
量子位
月光博客
月光博客
U
Unit 42
Engineering at Meta
Engineering at Meta
有赞技术团队
有赞技术团队
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
大猫的无限游戏
大猫的无限游戏
博客园 - 聂微东
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Y
Y Combinator Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Vercel News
Vercel News
Application and Cybersecurity Blog
Application and Cybersecurity Blog
博客园 - 【当耐特】
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Jina AI
Jina AI
S
Secure Thoughts
aimingoo的专栏
aimingoo的专栏
D
Darknet – Hacking Tools, Hacker News & Cyber Security
I
Intezer
Latest news
Latest news
V
Vulnerabilities – Threatpost
D
Docker
Attack and Defense Labs
Attack and Defense Labs
Help Net Security
Help Net Security
S
Security @ Cisco Blogs
Forbes - Security
Forbes - Security
MongoDB | Blog
MongoDB | Blog
云风的 BLOG
云风的 BLOG
L
LINUX DO - 热门话题
P
Palo Alto Networks Blog
Cloudbric
Cloudbric
Spread Privacy
Spread Privacy

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python) The Hidden Cost of AI Systems Nobody Talks About. undefined vs undeclared, and how typeof behaves Switching from file-based jobs to NATS/Kafka in Rust without changing code io_uring Adventures: Rust Servers That Love Syscalls Why Agentic AI is Killing the Traditional Database The POUR principles of web accessibility for developers and designers Quantum Neural Network 3D — A Deep Dive into Interactive WebGL Visualization How To Install Caveman In Codex On macOS And Windows Automation Pipeline Reliability: Why Your Workflow Breaks When Nobody Is Watching I Built an 'Open World' AI Coding Agent — It Works From ANY Folder From Freelancing to Product: A Tech Service Company's SaaS Transformation China's AI Giants: Adding Tencent Hunyuan & ByteDance Doubao to AI University (74 Providers) On the Vibe Coders and Their Lies clerk: Auto-Summarize Your Claude Code Sessions AI Weekly — 2026/04/10–04/17 | The Model Lockdown Is Here, but the Toolchain Is the Real Battleground AI 週報 — 2026/04/10–2026/04/17 模型封鎖潮來了,但工具鏈才是真戰場 Maybe this is how Open-Source apps are born... 🚀 Fine-Tune LLMs with LoRA and QLoRA: 2026 Guide tRPC v11 + Next.js App Router: End-to-End Type Safety Without the Boilerplate ShadCN UI in 2026: Why I Stopped Installing Component Libraries and Started Owning My Components SaaS Billing in React Server Components: Stripe + Supabase Without a Single `useEffect` Join our DEV Weekend Challenge — $1,000 in Prizes Across TEN winners! Submissions Due April 20 at 6:59 AM UTC. Implementing FSRS Spaced Repetition in Flutter + Supabase — Adding Memory Science to an AI Learning App "I Texted My Localhost From the Train — Claude Code Fixed the Bug Before I Got Home" I Built a Sales Prep AI and It Went Deeper Than Expected Design to Code #2: One JSON, Eleven Outputs Solving the 100M-Row Problem: A Summary Table Pattern for High-Volume Push Notification Logs Flutter Web With Wasm: What Actually Changes For Developers I Built 50 Royalty-Free Soundtracks for My Side Project in a Weekend Using AI Music Generation The Vibe Coding Security Checklist: 7 Things to Check Before You Ship Stop Letting Googlebot Guess Fix Your React App's SEO Right Desconstruindo o Streaming do LinkedIn: Como Criar um Engine de Extração de Vídeo de Alta Performance com HLS e FFmpeg (EDA Part-1) EDA (Exploratory Data Analysis) Explained With Real Life — Why Looking at Your Data Is the Most Important Step in Machine Learning Brand Relationship Management at Scale: Our 4-Touch Outreach System for 200+ Brands Why String.fromEnvironment() Might Return an Empty String in Dart JGuardrails 1.0.0 — Hardening Java LLM Apps Against Jailbreaks, Toxicity, and Prompt Injection Plan and Schedule a Full Week of Threads Content From One Claude Conversation Coding Cat Oran Ep3, Five Tables Changed Everything Updated: BFF Pattern I'm done watching freelancers get buried by 200 proposals. So I'm building the alternative. This is my first post BFS Algorithm in Java Step by Step Tutorial with Examples Tracking LLM Pricing Monthly: An Open Dataset for 22 AI Models How We Measure Content ROI on a Comparison Site: Revenue Attribution Without Perfect Data Introducing Nova AI Ops: The AI-Native Operating System for SRE Teams I built a free desktop video downloader for Windows — Grabbit How Talkie OCR Helps Vision-Impaired & Dyslexic Users Read the World Around Them VRCFaceTracking安装和iPhone面捕配置教程,有bug Even CrowdStrike Can't See Your Agents The Automation Gold Rush: What n8n Workflows and Claude Are Opening Up for Developers Right Now
What I Learned From Reading 50 Data Pipeline Postmortems
Andrew Tan · 2026-05-19 · via DEV Community

After analyzing 50 public postmortems from Uber, Netflix, Stripe, and others, four failure patterns emerge again and again. Most of them are preventable at the design stage.

The postmortem paradox

Every major tech company publishes them now. Stripe has a status page full of them. Netflix writes detailed engineering analyses. Uber, LinkedIn, GitHub, Cloudflare — they've all opened the curtain on what went wrong and why.

Here's the paradox: the same failures keep happening. Not the same companies, not the same systems, but the same patterns. A team at DoorDash loses payment data the same way a team at Netflix lost viewing metrics three years earlier. An Uber pipeline breaks from schema drift in 2024 the same way a LinkedIn pipeline broke in 2021.

I spent the last few weeks reading through 50 public postmortems and incident reports from companies that have collectively processed trillions of events. The goal wasn't to catalog every possible failure mode. It was to find the clusters — the root causes that show up often enough that they can't be dismissed as one-off bad luck.

Four patterns dominate. And here's what surprised me: most of them are preventable at the design stage, not the operations stage.


How the 50 were selected

Before diving into the patterns, a quick note on methodology. I focused on public postmortems from companies running large-scale data infrastructure: Uber, Netflix, Stripe, LinkedIn, GitHub, Cloudflare, DoorDash, Airbnb, Spotify, and AWS. I skipped security breaches and pure infrastructure outages (like DNS failures) unless they directly affected data pipelines.

The selection wasn't random. I prioritized postmortems that included:

  • Root cause analysis with technical depth
  • Timeline of failure and recovery
  • Explicit mention of data quality or pipeline impact
  • Lessons learned or process changes

Some companies publish frequently (Cloudflare, GitHub). Others rarely (Netflix). The 50 represent a cross-section of batch ETL, streaming, and hybrid architectures.


Pattern 1: Schema drift (38% of incidents)

The most common root cause was deceptively simple: the upstream system changed its data format, and the pipeline didn't know.

In one well-documented incident, a data team discovered that a downstream warehouse had been loading corrupted records for eleven days. The source API had added a new field. The pipeline's JSON parser treated it as an unexpected key and silently dropped the entire record batch. No alerts fired because the pipeline didn't crash — it just produced fewer rows than expected, and the difference was within normal variance until it wasn't.

This isn't an edge case. It's the default behavior of many data integration tools.

The postmortems reveal three variants of this pattern:

Additive drift

A new field, column, or event type appears. The pipeline ignores it or fails depending on how strict its schema validation is. Most postmortems noted that their pipelines were configured to be "permissive" because strict validation had caused false alarms in the past.

Type drift

An existing field changes its type. A string becomes a number. A timestamp loses its timezone. These are the hardest to catch because the data still looks valid. One postmortem described a revenue metric that silently doubled because a currency code field changed from ISO format to a numeric enum, and the pipeline interpreted the enum value as a multiplier.

Semantic drift

The format stays the same, but the meaning changes. A "user_id" field starts containing device IDs instead of account IDs. A "status" field gains a new state that the downstream logic treats as an error. The data passes all validation checks and is still wrong.

What's striking is how rarely these incidents were caught by schema registries or data contracts. In most cases, the teams had a registry. It just wasn't enforced at the pipeline boundary. The schema was documented somewhere, but the pipeline wasn't required to validate against it.


Pattern 2: Backpressure and load spikes (24% of incidents)

The second cluster involves pipelines that work perfectly at normal load and collapse under unexpected volume. The trigger varies — a marketing campaign, a viral event, a quarterly reporting cycle, a misconfigured upstream job that suddenly emits 10x its usual rate.

The failure mode is almost always the same: the pipeline can't shed load, so it drops it.

One postmortem from a streaming platform described a Kafka consumer that fell behind by six hours during a product launch. The consumer group auto-scaled, but the new instances hit a database connection pool limit that had never been tested at that scale. The pipeline didn't crash. It just stopped processing new events while old ones aged out of retention. By the time the team noticed, the data was gone.

Another described a batch ETL job that ran fine for two years until Black Friday, when the source system emitted files 40x larger than usual. The job ran for 18 hours, exhausted temporary storage, and failed without cleaning up its partial outputs. The next scheduled run started on top of the corrupted data.

The common thread: these pipelines were designed for steady-state operation, not for boundary conditions. They had monitoring for whether they were running, but not for how close to their limits they were operating.

Several postmortems noted that load testing had been deprioritized because "we'll just auto-scale." Auto-scaling works for compute. It doesn't work for connection pools, memory limits, disk I/O, or downstream API rate limits — the bottlenecks that actually break pipelines.


Pattern 3: Silent data loss (19% of incidents)

This is the pattern that keeps engineers up at night. The pipeline reports success. The dashboards show green. The SLA is met. But the data is incomplete, duplicated, or corrupted — and nobody knows until a business user asks why the numbers look wrong.

Silent loss shows up in several forms across the postmortems:

The filter that was too aggressive

A data quality rule dropped records that matched a malformed pattern. The rule was intended to catch corrupted upstream data, but it also caught legitimate records with unusual but valid values. Over three weeks, 12% of legitimate transactions were filtered out.

The exactly-once that wasn't

A pipeline claimed exactly-once semantics but used a non-idempotent sink. When a transient network error triggered a retry, some records were written twice. The deduplication logic existed in theory but not in the actual code path.

The retention gap

A streaming pipeline wrote to a message queue with a 24-hour retention window. When downstream processing fell behind due to a separate incident, the unprocessed data expired before recovery. The pipeline logs showed successful writes. The data just wasn't there when someone tried to read it.

What makes silent loss so dangerous is that it's invisible to traditional monitoring. Pipeline health metrics — runtime, throughput, error rate — don't catch it. You need data quality metrics: row counts, cardinality checks, referential integrity, distribution tests. Most of the postmortems admitted these checks were added after the incident, not before.


Pattern 4: Cascade failures from shared state (14% of incidents)

The smallest cluster but often the most catastrophic. These are incidents where a failure in one pipeline corrupts or disables others through shared infrastructure.

One memorable postmortem described a "poison pill" event — a single malformed record that caused a parser to enter an infinite loop. The consumer thread hung, the partition rebalanced, and the new consumer thread also hung. Within minutes, an entire consumer group was offline. Because the pipeline shared a Kafka cluster with other services, the broker's log compaction was affected, and unrelated pipelines began seeing increased latency.

Another described a metadata store used by multiple batch jobs. A schema migration for one job locked the metadata table for 90 seconds. Every other job that touched the same table failed or timed out. What should have been a single-team issue became a company-wide incident.

The lesson from these postmortems isn't just "isolate your failures." It's that shared state is often invisible. Teams don't realize they're sharing infrastructure until it fails. The Kafka cluster, the metadata table, the shared NFS mount — these aren't considered part of the pipeline's design, but they are part of its failure domain.


What the remaining 5% looked like

The rest of the postmortems were genuinely one-off: a cosmic ray flipping a bit, a vendor API changing behavior without notice, a certificate expiring on a holiday weekend. These are the failures you can't design away. The 95% above, you can.


The design checklist

After reading these 50 postmortems, I kept seeing the same gap. The failures didn't happen because teams lacked talent, tooling, or awareness. They happened because specific design questions weren't asked early enough.

Here are six questions that, if answered honestly during design review, would have prevented the majority of incidents I analyzed:

1. What happens when the schema changes without warning?

Not "do we have a schema registry?" — that's a tooling question. The design question is: does the pipeline fail when the schema deviates from expectations, or does it silently adapt? Adaptive behavior feels safer until it produces wrong data. Default to failure. Make schema mismatches loud.

2. What's the maximum load this pipeline has been tested at, and what breaks first when we exceed it?

Most teams test for correctness. Far fewer test for limits. Know your first bottleneck — memory, connections, disk, downstream rate limits — and have a graceful degradation plan for when you hit it.

3. How would we know if we were silently losing 10% of our data?

This is the most important question. If your only validation is "the job finished," you're flying blind. You need independent data quality checks that compare output volume, distribution, and key metrics against historical baselines.

4. Are our retries safe?

Any retry logic is a potential duplication mechanism unless the sink is strictly idempotent. Review every API call, every database write, every file append. If you can't guarantee idempotency, guarantee at-most-once and accept the occasional loss over the guaranteed duplication.

5. What other systems fail if this one does?

Map your failure domain. If your pipeline hangs, does it block a shared queue? Does it exhaust a connection pool? Does it fill a disk that other jobs need? Design for blast radius containment, not just recovery.

6. Can someone who's never seen this pipeline debug it at 3 AM?

The postmortems with the fastest recovery times all had one thing in common: observability that didn't require institutional knowledge. Logs that explain decisions, not just state changes. Metrics that show data health, not just system health. Alerts that point to root cause, not just symptoms.


The uncomfortable truth

Reading 50 postmortems doesn't make you immune to failure. But it does make the patterns obvious. And the patterns are, for the most part, boring. Schema drift. Load limits. Missing validation. Shared state. These aren't exotic distributed systems problems. They're design hygiene.

The teams that published these postmortems are among the best in the world at building data infrastructure. If they're still hitting these patterns, everyone else is too. The difference is whether you catch them in design review or at 3 AM.