You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cayenne.apache.org by "Andrus Adamchik (JIRA)" <ca...@incubator.apache.org> on 2006/12/13 18:00:14 UTC

[JIRA] Created: (CAY-722) Investigate reducing the shared cache lock scope on commit

Investigate reducing the shared cache lock scope on commit
----------------------------------------------------------

         Key: CAY-722
         URL: http://issues.apache.org/cayenne/browse/CAY-722
     Project: Cayenne
        Type: Improvement

  Components: Cayenne Core Library  
    Versions: 3.0    
    Reporter: Andrus Adamchik
 Assigned to: Andrus Adamchik 


Per discussion thread on dev list [1] it should be possible to safely reduce the lock scope on the shared cache during commit to just the postprocessing phase following commit. The benefit is increased throughput. Theoretically this shouldn't cause any problems, but it requires some serious  stress testing. 

Another related idea is to do cache update postprocessing on both select and commit in a separate thread, again improving throughput. I am not assigning this to anyone. The task is up for grabs.


[1] http://objectstyle.org/cayenne/lists/cayenne-devel/2006/12/0026.html 



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/cayenne/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira