gpt4 book ai didi

java - 支持 Activity STM库

转载 作者:行者123 更新时间:2023-12-01 06:13:29 25 4
gpt4 key购买 nike

我正在寻找一个正在积极开发的 java STM 库,以便我们可以开始在我们的产品中使用它。我已经从维基页面查看了 multiverse 和 objectfabric,但看起来它们没有任何开发。

我想检查 scalaSTM 库。我一年前看到了它的最新版本。所以想检查一下它是否仍在积极开发中?

最佳答案

你看过Disuptor吗? .

查看该页面上列出的文章和演示文稿。也许 Disruptor 是一个不错的选择。我知道,当我想到 STM 时,我想到的就是这个。

这里引用了 Martin Fowler 关于 LMAX 及其 Disruptor 库的博客文章中的一段话。

Given the shift to multi-core thinking, this kind of demanding performance would naturally suggest an explicitly concurrent programming model - and indeed this was their starting point. But the thing that got people's attention at QCon was that this wasn't where they ended up. In fact they ended up by doing all the business logic for their platform: all trades, from all customers, in all markets - on a single thread. A thread that will process 6 million orders per second using commodity hardware.

关于java - 支持 Activity STM库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30350945/

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