DiskDataStore to use multi-level directory structure to avoid slowness when 
thousands of sessions are active.
-------------------------------------------------------------------------------------------------------------

                 Key: WICKET-4478
                 URL: https://issues.apache.org/jira/browse/WICKET-4478
             Project: Wicket
          Issue Type: Improvement
          Components: wicket
    Affects Versions: 1.5.5
         Environment: ext3, NTFS, and common FSs in general.
            Reporter: Ondra Žižka


If the number of sessions opened rises to thousands, DiskDataStore, which is 
default, doesn't scale, because it creates one dir for each session, and most 
filesystems don't perform well with large number of records in a dir. More, 
there's a hard limit e.g. for ext3 it's 31998.

So I suggest to make it multi-level - simply, instead of "tmp/abcdef" it would 
be "tmp/a/b/cdef", where number of levels added would be configurable.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to