maorui139's recent timeline updates
maorui139

maorui139

V2EX member #604750, joined on 2022-12-04 21:23:44 +08:00
maorui139's recent replies
Aug 16, 2023
Replied to a topic by JasonLaw Redis 我对 Redlock 算法的疑问
问题一是为了避免活锁
Aug 16, 2023
Replied to a topic by JasonLaw Redis 我对 Redlock 算法的疑问
@jybox 问题一:我觉得不是死锁,这个情况并不复合死锁的定义。
应该是为了保证并发时一定有一个客户端获得锁,顺序的话只有第一个节点存在竞争,且一定有一个客户端获得锁;
如果是并发加锁,那么可能同时有 x 个客户端各获得 y 个锁,大家都无法获得锁
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2298 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 15ms · UTC 16:00 · PVG 00:00 · LAX 09:00 · JFK 12:00
♥ Do have faith in what you're doing.