You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by "Kvon, Dmitriy" <Dm...@billing.ru> on 2017/12/21 10:48:01 UTC
Ignite cluster configure (2.3.0)
Hi All!
1. I have two types of nodes: "A" and "B".
On the nodes "A" I deploy the cache "1", on the nodes "B" - cache "2".
It is necessary that the "B" nodes are servers for cache "2" and clients for servers "A" at the same time.
What is the best practice?
2. Can I have persistent and nonpersistent caches on one node?
Thanks
Dmitriy
Re: Ignite cluster configure (2.3.0)
Posted by dkarachentsev <dk...@gridgain.com>.
Hi Dmitriy,
1. You may use node filter [1] and specifically
org.apache.ignite.util.AttributeNodeFilter that could be configured in XML
without writing code.
2. Yes you can. You need to configure data regions and set
persistenceEnabled flag. After that you may apply cachesh to that regions.
[2]
[1]
https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/configuration/CacheConfiguration.html#setNodeFilter(org.apache.ignite.lang.IgnitePredicate)
[2]
https://apacheignite.readme.io/docs/memory-configuration#section-data-regions
Thanks!
-Dmitry
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/