2 Replies Latest reply on Sep 11, 2015 6:36 AM by Satish Shelake

    infinispan  level db cache store does not remove expired elements frequently

    Satish Shelake Newbie

      Hi,

      I have observed leveldb cache does not removed expired elements from expired path quickly. So performance of cache operation get hampers.

      Could you please suggest option for above problem.

       

      Following is my cache config-

       

      <infinispan>

        <cache-container default-cache="default">

        <local-cache name="TempCache">

        <persistence>

        <leveldb-store path="C:\CacheStore\leveldb\data" preload="true" shared="false">

        <expiration path="C:\\CacheStore\leveldb\expired"/>

        <implementation type="JAVA"/>

        </leveldb-store>

        </persistence>

        </local-cache>

        <local-cache name="AlarmCache">

        <persistence>

        <leveldb-store path="C:\Teis3.2\CacheStore\leveldb\data" preload="true" shared="false">

        <expiration path="C:\Teis3.2\CacheStore\leveldb\expired"/>

        <implementation type="JAVA"/>

        </leveldb-store>

        </persistence>

        </local-cache>

        </cache-container>

      </infinispan>