---
title: "Dead Ends or Data Goldmines? Investment Insights from Two Years of AI-Powered Postmortem Analysis"
description: "Zalando built a multi-stage LLM pipeline (summarization, classification, analyzer digests, cross-incident patterns, investment opportunities) to mine thousands of postmortems for recurring failure patterns in its datastores: Postgres, DynamoDB, ElastiCache, S3 and Elasticsearch."
url: "https://swe.quest/articles/dead-ends-or-data-goldmines-investment-insights-from-two-years-of-ai-powered-8637215027e4eee6"
canonical: "https://engineering.zalando.com/posts/2025/09/dead-ends-or-data-goldmines-ai-powered-postmortem-analysis.html"
source: "Zalando Engineering"
published: "2025-09-24"
difficulty: "medium"
kind: "Case study"
reading_minutes: 18
tags: ["llms","sre","incident-response","databases"]
---

# Dead Ends or Data Goldmines? Investment Insights from Two Years of AI-Powered Postmortem Analysis

A post on [Zalando Engineering](https://swe.quest/sources/zalando.md), published 2025-09-24, 18 min read, Case study. Original: [https://engineering.zalando.com/posts/2025/09/dead-ends-or-data-goldmines-ai-powered-postmortem-analysis.html](https://engineering.zalando.com/posts/2025/09/dead-ends-or-data-goldmines-ai-powered-postmortem-analysis.html)

## Summary

Zalando built a multi-stage LLM pipeline (summarization, classification, analyzer digests, cross-incident patterns, investment opportunities) to mine thousands of postmortems for recurring failure patterns in its datastores: Postgres, DynamoDB, ElastiCache, S3 and Elasticsearch. They chose chained single-purpose prompts in a map-fold pattern over large-context models to avoid "lost in the middle" effects, cost and latency. Strict no-inference prompts and negative examples counter hallucinations and surface attribution errors. NotebookLM alone gave roughly a 3x speedup but hallucinated and lost context, and human curation at each stage remains essential for trust and accuracy.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [LLMs](https://swe.quest/tags/llms.md) (AI & ML)
- [SRE](https://swe.quest/tags/sre.md) (Reliability & operations)
- [Incidents & postmortems](https://swe.quest/tags/incident-response.md) (Reliability & operations)
- [Databases](https://swe.quest/tags/databases.md) (Data & databases)

## Prerequisites

- postmortem and RCA practice ([easy posts on Incidents & postmortems](https://swe.quest/tags/incident-response.md?difficulty=easy))
- LLM prompting basics ([easy posts on LLMs](https://swe.quest/tags/llms.md?difficulty=easy))

## Keywords

Zalando, NotebookLM, DynamoDB, PostgreSQL, Elasticsearch, AWS ElastiCache, TELeR, map-fold

## Related posts

- [How we optimized LLM use for cost, quality, and safety to facilitate writing postmortems](https://swe.quest/articles/how-we-optimized-llm-use-for-cost-quality-and-safety-to-facilitate-writing-0fb0adf546328aa2.md): Datadog Engineering · 2024-09-23 · Medium · 13 min read · LLMs, Evaluation, Incidents & postmortems, Cost optimization, Privacy
  Datadog's Bits AI drafts incident postmortems by feeding structured Incident Management metadata and scrubbed Slack discussions into a mix of GPT-3.5 and GPT-4 models, one query per template section.
- [Can LLMs replace on call SREs today?](https://swe.quest/articles/can-llms-replace-on-call-sres-today-892e82a344776e7f.md): ClickHouse · 2025-08-14 · Medium · 57 min read · SRE, Observability, LLMs, AI agents, Evaluation
  LLMs were tested on autonomous root cause analysis of production incidents and fell short of replacing on-call SREs.
- [Making Failure Diagnosis Reliable with Pensive AI](https://swe.quest/articles/making-failure-diagnosis-reliable-with-pensive-ai-99ce7ba81c232629.md): Netflix TechBlog · 2026-10-26 · Medium · 16 min read · LLMs, Evaluation, Debugging, Data pipelines, Observability
  Netflix augmented Pensive, its rule-based failure diagnosis system for data and ML workloads, with LLM-based error extraction and on-demand debugging after roughly half of seven million failure classifications landed in an "unknown" bucket.
- [Leveraging AI for efficient incident response](https://swe.quest/articles/leveraging-ai-for-efficient-incident-response-c0ed9d554ec34552.md): Meta Engineering · 2024-06-24 · Medium · 5 min read · Incidents & postmortems, LLMs, Model training, Debugging
  Meta's AI-assisted root cause analysis system narrows suspect code changes in its web monorepo by combining a heuristic retriever with a fine-tuned Llama 2 (7B) ranker.
- [LLM Cost Optimization: 3 Patterns to Cut LLM Token Spend](https://swe.quest/articles/llm-cost-optimization-3-patterns-to-cut-llm-token-spend-f19f5dd3713227bf.md): Honeycomb · 2026-11-05 · Medium · 9 min read · LLMs, Cost optimization, Observability, AI agents
  LLM token spend is best reduced by using traces to find three waste patterns: repeated input context that doesn't improve results, retry storms and runaway agent loops, and output tokens that don't lift outcomes.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
