Skip to content
Tagged articles

Redis caching

12 articles · Page 1 of 1
dbaplus Community
dbaplus Community
Oct 24, 2026 · Backend Development

System Design: Building a Scalable URL Shortener from Requirements to Base62 Keys

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
System Design: Building a Scalable URL Shortener from Requirements to Base62 Keys
liandk
liandk
Oct 15, 2026 · Backend Development

AI-Generated Cache & Rate Limiting Code: Hidden Concurrency Bugs Exposed by Stress Testing

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
AI-Generated Cache & Rate Limiting Code: Hidden Concurrency Bugs Exposed by Stress Testing
Xike
Xike
Oct 8, 2026 · Backend Development

Short Link Implementation: Core Algorithms, Base62 Encoding, and 302 Redirection

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
Short Link Implementation: Core Algorithms, Base62 Encoding, and 302 Redirection
php Courses
php Courses
Sep 22, 2026 · Backend Development

PHP Performance Optimization: 6x Speedup from 8.2s to 1.4s with 7 Fixes

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
PHP Performance Optimization: 6x Speedup from 8.2s to 1.4s with 7 Fixes
Bilibili Tech
Bilibili Tech
Mar 14, 2025 · Backend Development

Evolution and Optimization of Bilibili Membership Ticketing System for High‑Concurrency Scenarios

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
Evolution and Optimization of Bilibili Membership Ticketing System for High‑Concurrency Scenarios
Architect
Architect
Oct 24, 2024 · Backend Development

Design and Implementation of Delivery Promise System in ZuanZuan App

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
Design and Implementation of Delivery Promise System in ZuanZuan App
Sohu Tech Products
Sohu Tech Products
Jul 31, 2024 · Backend Development

A High-Performance Strictly Incremental Distributed ID Generation Scheme Using MySQL, Redis, and Nacos

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
A High-Performance Strictly Incremental Distributed ID Generation Scheme Using MySQL, Redis, and Nacos
JD Cloud Developers
JD Cloud Developers
Jan 4, 2024 · Operations

How to Boost Inventory Reservation Performance by 2300% with Redis Caching

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
How to Boost Inventory Reservation Performance by 2300% with Redis Caching
Bilibili Tech
Bilibili Tech
Oct 7, 2022 · Backend Development

Promotion Platform 2.0 Architecture Upgrade: Unified Promotion Model, Low‑Code Workflow, and Rule Engine

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
Promotion Platform 2.0 Architecture Upgrade: Unified Promotion Model, Low‑Code Workflow, and Rule Engine
ITPUB
ITPUB
Nov 30, 2015 · Backend Development

How 58.com Achieves Read/Write High Availability with Dual‑Master and Redis Caching

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
How 58.com Achieves Read/Write High Availability with Dual‑Master and Redis Caching