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/17 22:16:03 UTC

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

Andrea Del Bene created WICKET-4821:
---------------------------------------

             Summary: 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

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

Posted by "Martin Grigorov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-4821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13478326#comment-13478326 ] 

Martin Grigorov commented on WICKET-4821:
-----------------------------------------

If someone wants to play with this earlier (s)he can do it at https://github.com/wicketstuff/core/tree/master/jdk-1.7-parent/wicketstuff-wicket7
                
> 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

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

Posted by "Andrea Del Bene (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-4821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13480853#comment-13480853 ] 

Andrea Del Bene commented on WICKET-4821:
-----------------------------------------

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

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

Posted by "Andrea Del Bene (JIRA)" <ji...@apache.org>.
    [ 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/21/12 12:17 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 (I've simply used DiskDataStoreTest as benchmark).  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 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
                  
> 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

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

Posted by "Andrea Del Bene (JIRA)" <ji...@apache.org>.
    [ 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