没有Terracotta Enterprise Suite,是否可以使用Ehcache实施分布式缓存? [英] Is it possible to implement distributed caching using of Ehcache without Terracotta Enterprise Suite?

查看:83
本文介绍了没有Terracotta Enterprise Suite,是否可以使用Ehcache实施分布式缓存?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图找到如何为应用程序实现分布式缓存。

I try to find how to implement distributed caching for applications.

我的项目中已经使用了高速缓存,这就是为什么我搜索如何使用它来解决此问题的原因。
但是,不幸的是,这似乎需要Terracotta Enterprise Suite,并且它是商业性的。是不是
还有另一种解决方案如何使用Ehcache进行分布式缓存(RMI或其他)吗?

Ehcache already used for caching in my project, that's why I search how to solve this issue using it. But, unfortunately, it seems, that Terracotta Enterprise Suite is needed for this and it is commercial. Isn't it? Is there another solution how to use Ehcache for distributed caching (RMI or anything else)?

推荐答案

不需要兵马俑企业套件来群集您的Ehcache实例。因此,您可以将群集与Ehcache&今天使用纯OSS的Terracotta:

You don't need terracotta enterprise suite to cluster you Ehcache instances. So you can use clustering with Ehcache & Terracotta today, with pure OSS :

http://www.ehcache.org/documentation/configuration/distributed-cache-configuration

编辑:此链接已过期。以下是与群集缓存
相关的新链接 http:// www .ehcache.org / documentation / 3.4 / clustered-cache.html

This link has expired. Below is the new link related to clustered cache http://www.ehcache.org/documentation/3.4/clustered-cache.html

现在,如果您需要复制,则可以使用RMI等其他机制:

Now if you need replication, you can use other mechanisms like RMI indeed :

http://www.ehcache.org / documentation / replication / index

尽管如此,只有Terracotta集群才能为您带来HA和诸如一致性保证之类的功能...

Though, only the Terracotta clustering would bring you HA and features like consistency guarantees and the like...

这篇关于没有Terracotta Enterprise Suite,是否可以使用Ehcache实施分布式缓存?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆