简体   繁体   English

如何在两节点群集中设置infinispan缓存

[英]How to setup infinispan cache in a two node cluster

I need to setup Infinispan (In Memory Cache) in two node Cluster. 我需要在两个节点的群集中设置Infinispan(在内存缓存中)。 Any basic level setup documentation for the same would be appreciable. 相同的任何基本级别设置文档都将是可理解的。 The documentation found in Internet is so vague and doesn't suit a beginner. Internet中找到的文档非常模糊,不适合初学者。 I've developed an application which caches the data from csv in eclipse. 我已经开发了一个应用程序,可以在eclipse中缓存来自csv的数据。 But when i deploy the jar in two nodes, it does the same and how am i supposed to find out whether the cache is distributed.? 但是,当我在两个节点中部署jar时,它的作用相同,我应该如何确定缓存是否已分配。 Any step by step guide to deploy an application which supports distributed caching. 有关部署支持分布式缓存的应用程序的任何分步指南。

Thanks, Ajith Kumar 谢谢,Ajith Kumar

The cache is not distributed by default, you have to configure it. 默认情况下,缓存不是分布式的,您必须对其进行配置。

I suggest looking at the clustered cache quickstart . 我建议看一下集群缓存快速入门

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM