[ 
https://issues.apache.org/jira/browse/WICKET-4478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martin Grigorov resolved WICKET-4478.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 6.0.0-RC1
                   1.5.6

Improved by re-applying the patch from WICKET-1837.

It uses the hashcode of the sessionId string to make it better distributed.
                
> 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
>            Assignee: Martin Grigorov
>             Fix For: 1.5.6, 6.0.0-RC1
>
>         Attachments: fix-WICKET-4478.patch
>
>
> 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