[infinispan-issues] [JBoss JIRA] Commented: (ISPN-1291) FileCacheStore implementation leads to purge duration of many minutes and sometimes many hours
Robert Stupp (JIRA)
jira-events at lists.jboss.org
Tue Aug 2 07:42:23 EDT 2011
[ https://issues.jboss.org/browse/ISPN-1291?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12618079#comment-12618079 ]
Robert Stupp commented on ISPN-1291:
------------------------------------
As a temporary workaround, it is good not to write empty files (file length==0).
> FileCacheStore implementation leads to purge duration of many minutes and sometimes many hours
> ----------------------------------------------------------------------------------------------
>
> Key: ISPN-1291
> URL: https://issues.jboss.org/browse/ISPN-1291
> Project: Infinispan
> Issue Type: Quality Risk
> Components: Loaders and Stores
> Affects Versions: 4.2.1.FINAL, 5.0.0.CR8
> Reporter: Robert Stupp
> Assignee: Manik Surtani
>
> Purging in FileCacheStore takes too long.
> I have implemented a copy of FileCacheStore with the issues of ISPN-1286 resolved.
> So the purgeInternal will both not block the whole application (uses cache key locks instead of a global lock and a large purge interval).
> When adding a huge amount of data, the FileCacheStore writes many many thousands of files.
> During each purge, all files will be touched - so the time to purge increases until it is no longer acceptable (several minutes to several hours).
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list