That is up to you, you can use anything you want, the most obvious choice would be the built in attributes feature in Ignite configuration:

        <!-- Attributes -->
          <property name="userAttributes">
            <map>
              <entry key="MyAttribute" value="MyValue"/>
            </map>
          </property>

You will find a lot of information under the "Affinity Function" and "Affinity Key Mapper" sections here:

https://apacheignite.readme.io/docs/affinity-collocation

Did you consider the idea of using multiple caches ? that would be much easier to implement if it is a possible solution for you ?

Mikael


Den 2019-11-01 kl. 03:01, skrev BorisBelozerov:
How can I choose node? By IP, MAC, or other criteria??
Thank you!!



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Reply via email to