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