gpt4 book ai didi

java - EHCache JMS 复制限制线程数?

转载 作者:行者123 更新时间:2023-12-01 08:53:18 26 4
gpt4 key购买 nike

本质上是 this question 的这一部分:

-> It seems ehcache/ hibernate creates 1 cache per Entity. This is fine, however when replication is in place it create 1 thread / cache to replicate. Is this the intended behavious ? As our domain is big, it creates about 300 threads, which seems to me really big

是否没有选项可以池化或合并复制线程的数量?

最佳答案

有关复制的代码多年来没有改变,因此限制仍然存在。如 accepted answer 中所述对于链接的问题,您必须自己编写所需的代码。

现在,Ehcache 认为复制已被弃用,并支持 Terracotta 集群,以提供一些一致性保证。详细信息超出了问题的范围。

关于java - EHCache JMS 复制限制线程数?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42227614/

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