Skip to content
Tagged articles

Fan-out

5 articles · Page 1 of 1
ITPUB
ITPUB
Oct 20, 2026 · Backend Development

Why WebSocket Broadcast Fails at 1M Viewers: Solving Massive Fan-Out in Live Chat

This article analyzes why naive WebSocket broadcast fails for million-viewer live chat due to bandwidth and client rendering limits, then presents a three-layer architecture with local fan-out, 100ms batching windows, priority-based sampling, and segmented sequence generation to reduce remote pushes from millions to dozens while maintaining perceived real-time experience.

Fan-outMessage BroadcastingNetty
0 likes · 21 min read
Why WebSocket Broadcast Fails at 1M Viewers: Solving Massive Fan-Out in Live Chat
Wu Shixiong's Large Model Academy
Wu Shixiong's Large Model Academy
Aug 13, 2026 · Backend Development

Why asyncio.gather Errors Don’t Halt All Branches and How to Design Robust Failure Strategies

The article explains that asyncio.gather only propagates the first exception without cancelling other awaitables, distinguishes fan‑out/fan‑in from a Supervisor role, and demonstrates a pure‑Python pattern for classifying required versus optional branches, handling failures, and merging results safely.

ConcurrencyFan-outPython
0 likes · 12 min read
Why asyncio.gather Errors Don’t Halt All Branches and How to Design Robust Failure Strategies
Code Wrench
Code Wrench
Oct 24, 2025 · Backend Development

Transforming a Simple Factorial into a Concurrent Go Engine

This article explores how a basic factorial calculation can be turned into a sophisticated concurrent system in Go, covering deadlock pitfalls, fan‑out/fan‑in pipelines, Redux‑style state management, and a controllable streaming factorial engine with pause and resume capabilities.

ConcurrencyFan-outGo
0 likes · 9 min read
Transforming a Simple Factorial into a Concurrent Go Engine
21CTO
21CTO
May 30, 2022 · Backend Development

How Twitter Scaled Timelines: Fan‑Out, Redis, and Architecture Secrets

This article analyzes Twitter's early architectural choices for handling massive user growth, detailing how fan‑out, precomputed home timelines stored in Redis, and selective write strategies enabled the platform to serve hundreds of thousands of timeline requests per second while keeping latency low.

Fan-outRedisTwitter
0 likes · 8 min read
How Twitter Scaled Timelines: Fan‑Out, Redis, and Architecture Secrets