Hello Oleg,

Just to confirm, do you use C++ thin or thick (regular) client? If you have
inserted this property into the configuration on the client side then it
should work. Something might have failed on the visor end.

Btw, do you see any performance difference after turning on/off the near
cache?

-
Denis


On Thu, Sep 12, 2019 at 12:30 AM Oleg Popov <o.po...@livelace.ru> wrote:

> Hello.
>
> Configuration:
>
> 1. N1 и N2 - data nodes (in different k8s clusters).
> 2. C1 - client node (outside of k8s clusters; c++ client node).
> 3. All caches are replicated. Caches create through REST/caches templates.
>
> Need:
>
> 1. C1 has to have a near cache for better performance.
>
> Question:
>
> 1. How to enable and use a near cache on client and data nodes ?
> 2. Is there any support NearConfiguration in C++ ?
>
> I have already tried to add:
>
> <property name="nearConfiguration">
>
>     <bean class="org.apache.ignite.configuration.NearCacheConfiguration">
>         <property name="nearEvictionPolicy">
>             <bean 
> class="org.apache.ignite.cache.eviction.lru.LruEvictionPolicy">
>                 <property name="maxSize" value="1000000"/>
>             </bean>
>         </property>
>     </bean>
> </property>
>
> to a cache template, but ignitevisor shows that near cache is disabled
> ("off" state).
>
>
> С уважением, Попов О.В. / Best regards, Popov V Oleg
>

Reply via email to