Tagged articles

reentrant

6 articles · Page 1 of 1
Code Ape Tech Column
Code Ape Tech Column
Jul 24, 2025 · Backend Development

Mastering Redisson Distributed Locks: Deep Dive into Implementation, Reentrancy, and Fairness

This article provides a comprehensive guide to Redisson's distributed lock implementation, covering its architecture, comparison with Jedis and Lettuce, basic lock creation, Lua scripts for atomic operations, reentrant lock handling, watchdog-based lock renewal, RLock usage, and the design of fair locks using Redis data structures.

Redisdistributed lockfair lock
0 likes · 31 min read
Mastering Redisson Distributed Locks: Deep Dive into Implementation, Reentrancy, and Fairness
Java Architect Essentials
Java Architect Essentials
Nov 30, 2022 · Backend Development

Understanding Redisson Distributed Locks: Architecture, Reentrancy, Fairness, and WatchDog Mechanism

This article explains Redisson's role as a Java in‑memory data grid built on Redis, compares it with Jedis and Lettuce, and details how Redisson implements distributed locks—including simple lock/unlock, Lua‑based reentrant locks, automatic lock renewal (WatchDog), and a fair lock using Redis lists and sorted sets—providing complete code examples and execution flow.

LuaRedisdistributed lock
0 likes · 31 min read
Understanding Redisson Distributed Locks: Architecture, Reentrancy, Fairness, and WatchDog Mechanism
Sohu Tech Products
Sohu Tech Products
Aug 10, 2022 · Backend Development

Understanding Redisson Distributed Locks: Reentrancy, Fairness, and Watchdog Mechanism

This article explains how Redisson implements distributed locks on Redis, covering basic concepts, differences from Jedis and Lettuce, the Lua scripts for lock acquisition, reentrancy handling, automatic lease renewal via a watchdog, Pub/Sub based unlock notifications, and the design of a fair lock using Redis lists and sorted sets.

Redisdistributed lockfair lock
0 likes · 30 min read
Understanding Redisson Distributed Locks: Reentrancy, Fairness, and Watchdog Mechanism
Liangxu Linux
Liangxu Linux
Nov 9, 2020 · Fundamentals

Understanding Reentrant vs Thread‑Safe Functions in Unix/Linux

This article explains the concepts of reentrant and thread‑safe functions, their differences, how signals affect them, examples of non‑reentrant scenarios, and practical guidelines for writing safe code in C on Unix-like systems.

C ProgrammingPOSIXSignal Handling
0 likes · 14 min read
Understanding Reentrant vs Thread‑Safe Functions in Unix/Linux