Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-722

Investigate reducing the shared cache lock scope on commit

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0
    • 3.0M1, 3.0
    • Core Library
    • None

    Description

      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

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            halset Tore Halset
            andrus Andrus Adamchik
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment