PulseAugur
EN
LIVE 14:04:40

Nginx buffering breaks Anthropic Claude SSE streams, fix detailed

A developer encountered significant delays in Server-Sent Events (SSE) streaming from the Anthropic API when using nginx as a proxy. By default, nginx's `proxy_buffering` feature collects upstream data in chunks, which disrupts the token-by-token delivery characteristic of SSE streams. This resulted in a substantial increase in Time To First Token (TTFT), degrading the user experience from near-instantaneous responses to several seconds of delay. The issue was resolved by disabling `proxy_buffering` for the streaming route or by configuring the application to send an `X-Accel-Buffering: no` header, restoring the stream's responsiveness. AI

IMPACT Developers must configure nginx to disable proxy buffering for AI streaming services to ensure low latency.

RANK_REASON Technical troubleshooting guide for a specific infrastructure configuration impacting an AI service.

Read on dev.to — LLM tag →

AI-generated summary · Google Gemini · from 1 sources. How we write summaries →

Nginx buffering breaks Anthropic Claude SSE streams, fix detailed

How we ranked this

Signal score
22 / 100
Composite score across the factors below. Higher = stronger signal that this story matters right now.
Newsworthiness bucket
Tool
Technical troubleshooting guide for a specific infrastructure configuration impacting an AI service.
Source corroboration
Single-source cluster
Only one publisher covered this so far. Single-source stories can still rank when the publisher is high-authority, but they lack cross-source corroboration.
Topics
infra, product
Editorial topic classification. Feeds into how the story surfaces on /topic/<slug> hub pages and into the per-entity coverage mix.
AI-industry relevance
High
Clearly on-topic for AI-industry coverage.
Story freshness
Breaking (< 6h)
Fresh story with cross-source coverage still developing. Ranking may shift as more sources report.

Full methodology in our editorial standards.

COVERAGE [1]

  1. dev.to — LLM tag TIER_1 English(EN) · jidonglab ·

    nginx proxy_buffering Broke My Claude SSE Stream: 0.7s to 3.4s TTFT

    <p>On my laptop, the chat app streamed like it should. The first word showed up in under a second and the rest typed itself out. Then I deployed it behind nginx, and the same app sat on a blinking cursor for three, five, sometimes nine seconds before dumping a whole paragraph at …