Hi, You can provide IgnitePredicate instance to your CacheConfiguration. It will allow you create cache only on nodes that satisfy this predicate implementation. But cache itself will be available from all nodes that are want operate with data in this cache.
On Tue, May 16, 2017 at 9:09 PM, Libo Yu <[email protected]> wrote: > Hi all, > > > > I am trying to figure out how to do this with Ignite Cache: > > > > I have ignite cache installed on several application servers. Those > application servers may need the same data from time to time. > > Here is my scenario: > > After server A gets some data, it saves the data to the cache which is local > to A. When B needs the same data, B can get data from > > A. > > > > The issue with Ignite affinity function is that when A tries to save the > data, the data’s partition may be on a different server. That makes > > It really inefficient. Is there a way to save the data locally and share it > clusterwise? Thanks. > > > > Libo > >
