I have two Linux boxes, each of them hosts Ignite server instance which are linked into cluster of two nodes. Both servers have some caches with data ,caches are configured as REPLICATED
.
Also each Linux box has about 15 Java processes that have Ignite client and connect to Ignite cluster to get some data.
Is it possible to configure Ignite clients in such way that they will first try to get data from cache which is running in Ignite server which is on the same Linux box as Ignite client? If there is no such server then go to any other active Ignite server in cluster.
I've tried AffinityFunction
but it doesn't have information about Ignite client.