FAQ
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

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupdev @
categoriescayenne
postedDec 13, '06 at 5:00p
activeDec 13, '06 at 5:00p
posts1
users1
websitecayenne.apache.org

1 user in discussion

Andrus Adamchik (JIRA): 1 post

People

Translate

site design / logo © 2022 Grokbase