Search code examples
ignitegridgain

Ignite near cache - Can the same distributed cache be configured to be a near cache in one ignite client & a regular cache in another ignite client?


Folks,

Does anyone know the behavior for the below two items on Ignite Near Cache,

  1. Can the same distributed cache on the ignite grid be configured to be a near cache in one ignite client & a regular cache in another ignite client at the same time?. Hopefully this can be done.

  2. Does near caches work when using SQL queries (we use Spring Data abstraction) or does it work only with JCache based key-value access.

Thanks lmk


Solution

    1. I think you should be able to only start Near Cache on a subset of clients. Have you tried that.
    2. No, SQL map phase will not happen on clients, it will happen on primary server node(s).