Reputation: 146
I am implementing the Data Region in apache ignite cluster with 4 nodes and each node having 20GB RAM. I have some doubts with data region configuration.
Upvotes: 0
Views: 1554
Reputation: 1139
DataRegionConfiguration
is local for each node. If you set max size to 10Gb, it means 10Gb for single node. If you start two nodes with same config, you get 20Gb total size.
You can configure any data region for one or more nodes, in other words have separate configuration for each node. Then you can setup node filter that will define set of nodes that could store your cache. To configure it from XML, you can use AttributeNodeFilter and set your attributes for proper nodes in IgniteConfiguration. This way you can setup data regions for required nodes and settle caches on that nodes using node filter + node attributes.
Upvotes: 2