Tagged articles
Redis caching
12 articles · Page 1 of 1
This article walks through a system design interview for a URL shortener, covering requirements analysis, capacity estimation (20K read QPS, 15TB storage), API design, NoSQL data modeling, key generation via auto-increment ID with base62 encoding, hash-based partitioning, Redis caching with LRU eviction, load balancing strategies, and lazy expiration cleanup.
Consistent HashingRedis cachingURL shortener
0 likes · 25 min read


liandkOct 15, 2026 · Backend Development
This postmortem reveals how AI-generated Redis caching and rate limiting code for a real estate query API passed unit tests but collapsed under 200 concurrent requests, exposing critical flaws in Bloom filter synchronization, mutex lock recursion, random expiration logic, and non-atomic rate limiting — with fixes using Redisson, Lua scripts, and async hot-key refresh.
AI-generated codeLua ScriptRedis caching
0 likes · 11 min read


XikeOct 8, 2026 · Backend Development
This article details the architecture of short link systems, covering short domain selection, unique ID generation strategies (auto-increment, Redis, Snowflake), Base62 and custom encoding, mapping storage with Redis and databases, 302 redirection flow, cache optimization, anti-enumeration, idempotency, expiration handling, multi-data-center deployment, and click tracking.
Redis cachingbase62http-redirection
0 likes · 15 min read

A legacy PHP 7.2 project with 8.2s average response time was optimized to 1.4s in two weeks through seven fundamental fixes: enabling OPcache, eliminating N+1 queries via eager loading, adding composite database indexes, implementing Redis caching layers, setting HTTP timeouts for external calls, right-sizing PHP-FPM workers, and separating API middleware from web routes.
LaravelN+1 QueryOPcache
0 likes · 12 min read

This article explains multiple database schema designs for hierarchical comment threads, compares their query performance, and shows how Redis can be used to sort hot comments and handle high‑concurrency likes, providing practical solutions for large‑scale comment systems.
Redis cachingcomment systemdatabase design
0 likes · 8 min read

Bilibili’s ticketing platform evolved from a single‑transaction, synchronous design to an asynchronous batch system and finally to a Redis‑cached inventory layer, adding DB isolation changes, sharding, bloom‑filter protection and adaptive rate limiting, which together enabled handling up to 930 k requests per second and stable high‑concurrency ticket sales.
Asynchronous ProcessingRedis cachingbackend optimization
0 likes · 18 min read

This article explains how ZuanZuan designs and implements a high‑performance delivery‑promise (fulfilment timing) system, covering the definition of delivery promise, the order‑OMS‑WMS‑TMS workflow, estimated‑arrival calculations, high‑QPS handling with caching and Redis, and the logic behind next‑day and same‑day delivery filters.
Redis cachingdelivery promisee-commerce
0 likes · 9 min read

The article proposes a high‑performance, strictly incremental distributed ID generation scheme that combines MySQL segment tables, Redis caching, and Nacos‑controlled switching, achieving sub‑millisecond latency and 7‑10× speedup over pure database methods while preserving fault tolerance, availability, and global uniqueness.
MySQL segmentNacos switchRedis caching
0 likes · 9 min read

This article details a comprehensive performance‑testing case study of an inventory‑reservation system, describing the test scenarios, bottleneck analysis, Redis‑based cache redesign, re‑testing results, cache‑preheat strategies, invalid‑call reduction, and operational best practices that together increased TPS by over twenty‑three‑fold while keeping latency under 500 ms.
Inventory ReservationRedis cachingdatabase optimization
0 likes · 16 min read

JD-hotkey is a high‑performance backend framework that detects billions of hot keys daily, captures crawlers and hot items, and pushes them to service memory within milliseconds, dramatically reducing data‑layer load and boosting application performance.
Backend PerformanceHot Data DetectionJava
0 likes · 6 min read

The Promotion Platform 2.0 upgrade replaces the fragmented 1.0 system with a unified promotion model, low‑code DSL‑driven workflow, and QLExpress rule engine, enabling rapid creation of diverse promotional tools, consistent pricing calculations, and high‑performance caching while preserving stability for the ACG e‑commerce ecosystem.
Promotion PlatformRedis cachingWorkflow
0 likes · 13 min read


ITPUBNov 30, 2015 · Backend Development
The article explains 58.com’s service‑oriented architecture that combines dual‑master MySQL replication, a standby database, and Redis caching to provide high‑availability read/write operations, outlines their scaling process, and details a four‑step cache‑consistency strategy.
Database ReplicationHigh AvailabilityRedis caching
0 likes · 6 min read
