You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Andrea Del Bene (JIRA)" <ji...@apache.org> on 2012/10/21 01:44:11 UTC

[jira] [Comment Edited] (WICKET-4821) Adopt AsynchronousFileChannel for DiskDataStore

    [ https://issues.apache.org/jira/browse/WICKET-4821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13480853#comment-13480853 ] 

Andrea Del Bene edited comment on WICKET-4821 at 10/20/12 11:43 PM:
--------------------------------------------------------------------

I've also created a repository containing my initial experiments with AsynchronousFileChannel and DiskDataStore. You can find it at https://github.com/bitstorm/Wicket7NIO2. 

PS: for what it's worth on my pc the new implementation is around 40% faster then the current one. My hardware spec. are the following:

-AMD Phenom II quad core 3Ghz
-8 GB DDR2
-HD Hitachi Deskstar 7K1000.B 1 TB
                
      was (Author: bitstorm):
    I've also created a repository containing my initial experiment with AsynchronousFileChannel and DiskDataStore. You can find it at https://github.com/bitstorm/Wicket7NIO2. 

PS: for what it's worth on my pc the new implementation is around 40% faster then the current one. My hardware spec. are the following:

-AMD Phenom II quad core 3Ghz
-8 GB DDR2
-HD Hitachi Deskstar 7K1000.B 1 TB
                  
> Adopt AsynchronousFileChannel for DiskDataStore
> -----------------------------------------------
>
>                 Key: WICKET-4821
>                 URL: https://issues.apache.org/jira/browse/WICKET-4821
>             Project: Wicket
>          Issue Type: Improvement
>    Affects Versions: 7.0
>            Reporter: Andrea Del Bene
>
> By default Wicket stores session data on file. Class AsynchronousDataStore has been created to make this process asynchronous. 
> Java 7 comes with a new asynchronous file channel (AsynchronousFileChannel). We could replace the standard FileChanel used inside DiskDataStore with the asynchronous version and avoid to use AsynchronousDataStore.
> This could reduce code complexity and the amount of code to maintain.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira