Java 的轻量级进程内分布式事务管理器?

发布于 2024-09-19 02:39:00 字数 195 浏览 4 评论 0原文

我正在尝试扩展 Clojure,以允许用户选择要持久保存的数据存储实例,从而增加引用的持久性。这就需要分布式事务。是否有任何真正轻量级的、进程内的分布式事务管理器,支持 XA,适用于 Java?如果没有,并且我必须自己推出,是否有任何好的资源来解释分布式事务协调器必须支持什么?具体来说,我很难理解 XID 的 3 个部分的语义到底是什么。作为初始实现,我使用 BDB JE。

I'm trying to extend Clojure to add durability to refs in a way that allows users to choose which data store instances to persist to. That requires distributed transactions. Are there any really lightweight, in-process distributed transaction managers, supporting XA, for Java? If not, and I have to roll my own, are there any good resources explaining what a distributed transaction coordinator has to support? Specifically, I'm having trouble understanding what the semantics of the 3 parts of an XID are really supposed to be. As an initial implementation, I'm using BDB JE.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

箜明 2024-09-26 02:39:00

我知道这两个:

  • Bitronix:这是我们当前正在使用的,它似乎工作正常,并且很容易配置。

  • Atomikos:我们已经尝试过这个,但配置起来比 Bitronix 难一点,并且它对 java.util.logging 有一些我们不想要的硬编码依赖项。它应该比 Bitronix 功能更完整,因为它是商业支持产品的开源版本。

I know these two:

  • Bitronix: This is the one we are using currently, it seems to work OK and it is easy to configure.

  • Atomikos: We have tried this, but it is a little harder to configure than Bitronix, and it has some hardcoded dependencies to java.util.logging which we did not want. It should more feature-complete than Bitronix as it is an open source version of a commercially supported product.

月寒剑心 2024-09-26 02:39:00

http://www.atomikos.com 应该做你正在寻找的事情......

http://www.atomikos.com should do what you are looking for...

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文