Tagged articles

lease mechanism

3 articles · Page 1 of 1
Linyb Geek Road
Linyb Geek Road
Apr 29, 2026 · Backend Development

How Leading Tech Companies Elegantly Avoid the Delayed Double Delete Pitfall

The article dissects why the delayed double‑delete cache‑consistency pattern breaks under high traffic, illustrates Alibaba’s painful experience, and then details two production‑grade alternatives—lease‑based token control and version‑number comparison—explaining their principles, Redis‑Lua implementations, and trade‑offs.

Cache consistencyRedis Luadelayed double delete
0 likes · 8 min read
How Leading Tech Companies Elegantly Avoid the Delayed Double Delete Pitfall
dbaplus Community
dbaplus Community
Sep 17, 2018 · Databases

Mastering Data Sharding: Hash, Consistent Hash, and Range Partition Strategies Explained

This article explains the core concepts of data sharding in distributed storage systems, compares hash, consistent‑hash, and range‑based partitioning, discusses how to choose sharding keys, examines metadata server designs and high‑availability solutions, and introduces lease‑based cache consistency mechanisms.

Consistent Hashinghash partitionlease mechanism
0 likes · 28 min read
Mastering Data Sharding: Hash, Consistent Hash, and Range Partition Strategies Explained