gpt4 book ai didi

java - 基于 MySql/GigaSpaces/Netapp 的分布式锁服务

转载 作者:行者123 更新时间:2023-11-29 04:31:47 24 4
gpt4 key购买 nike

<分区>

Disclaimer: I already asked this question, but without the deployment requirement. I got an answer that got 3 upvotes, and when I edited the question to include the deployment requirement the answer then became irrelevant. The reason I'm resubmitting is because SO considers the original question 'answered', even though I got no meaningful upvoted answer. I opened a uservoice submission about this problem. The reason I reposted is so StackOverflow consider the original question answered, so it doesn't show up on the 'unanswered questions' tab.

您会使用哪种分布式锁服务?

要求是:

  1. 可以从不同进程/机器看到的互斥(锁)
  2. 锁定...释放语义
  3. 一定超时后自动释放锁 - 如果锁持有者死亡,它将在 X 秒后自动释放
  4. Java 实现
  5. 轻松部署 - 除了 Netapp、MySql 或 GigaSpaces 之外,不得需要复杂的部署。必须与这些产品配合良好(尤其是 GigaSpaces - 这就是 TerraCotta 被排除在外的原因)。
  6. 很高兴拥有:.Net 实现
  7. 如果是免费的:死锁检测/缓解

我对“可以通过数据库完成”或“可以通过 JavaSpaces 完成”这样的回答不感兴趣 - 我知道。相关答案应仅包含现成的、开箱即用的、经过验证的实现。

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com