Ignite near cache - 是否可以将相同的分布式缓存配置为一个 ignite 客户端中的 near 缓存和另一个 ignite 客户端中的常规缓存?

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?

各位,

有谁知道 Ignite Near Cache 上以下两项的行为,

  1. 能否将 ignite grid 上的同一个分布式缓存同时配置为一个 ignite 客户端中的近缓存和另一个 ignite 客户端中的常规缓存?希望可以做到。

  2. 在使用 SQL 查询(我们使用 Spring 数据抽象)时,近缓存是否有效,还是仅适用于基于 JCache 的键值访问。

谢谢 lmk

  1. 我认为您应该只能在一部分客户端上启动 Near Cache。你试过了吗
  2. 不,SQL映射阶段不会发生在客户端上,它会发生在主服务器节点上。