Tagged articles

counter architecture

1 articles · Page 1 of 1
Code Farming
Code Farming
Jul 13, 2026 · Backend Development

Designing Trillion‑Scale Counters: From MySQL to a Custom Redis Engine

The article dissects a proven trillion‑level counter architecture, tracing its evolution from a simple MySQL table through hash sharding, a full Redis migration, deep Redis memory optimizations, and hot‑cold separation, while detailing the trade‑offs and performance gains at each step.

High ConcurrencyMessage QueueRedis optimization
0 likes · 6 min read
Designing Trillion‑Scale Counters: From MySQL to a Custom Redis Engine