Tag

Redis lock

0 views collected around this technical thread.

Sanyou's Java Diary
Sanyou's Java Diary
May 29, 2023 · Backend Development

Mastering Distributed Locks: Design, Implementation & DB/Redis/Zookeeper Comparison

This article explains the concepts, designs, and practical implementations of distributed locks using databases, Redis, and Zookeeper, compares their advantages and drawbacks, and provides code examples and best‑practice recommendations for reliable concurrency control in distributed systems.

Distributed LockRedis lockZookeeper
0 likes · 18 min read
Mastering Distributed Locks: Design, Implementation & DB/Redis/Zookeeper Comparison
Top Architect
Top Architect
May 8, 2021 · Backend Development

Distributed Locks: Why They Are Needed, Required Conditions, and Three Implementation Approaches (Database, Redis, Zookeeper)

This article explains the necessity of distributed locks in multi‑node applications, outlines the essential properties a distributed lock must satisfy, and compares three common implementation methods—database‑based exclusive locks, Redis‑based locks, and Zookeeper‑based locks—highlighting their advantages, drawbacks, and usage patterns.

Distributed LockRedis lockbackend
0 likes · 15 min read
Distributed Locks: Why They Are Needed, Required Conditions, and Three Implementation Approaches (Database, Redis, Zookeeper)
Xianyu Technology
Xianyu Technology
Jun 9, 2020 · Backend Development

Xianyu Coin Service Migration: A Service‑Based Data Migration Approach

Alibaba migrated Xianyu Coin’s points from the legacy KingTower platform to the new Banliang service using a four‑phase, service‑based approach—preparation, active/passive data migration with distributed locks, dual‑write for consistency, reconciliation, and a gradual service switch—completing the transition in a month without user impact.

Dual‑WriteRedis lockbackend engineering
0 likes · 11 min read
Xianyu Coin Service Migration: A Service‑Based Data Migration Approach