Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-1615

Workspace caches grow without bounds

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • 3.0.0.Beta4
    • 3.0.0.Beta3
    • JCR
    • None

    Description

      Each workspace cache is currently a simple concurrent map, and because it is shared by multiple sessions it is never cleared nor its contents removed. This is obviously a problem that needs to be addressed.

      Perhaps the easiest way to do this is to use an in-memory Infinispan cache for each workspace cache, where the Infinispan cache has no cache store, limited numbers of entries, with a LRU or LIRS eviction strategy and possibly even a lifespan limit. (Not sure how/whether to expose these settings in the repository configuration; probably a good idea to better support deployment on various sized machines and custom tuning.)

      Attachments

        Activity

          People

            rhauch Randall Hauch (Inactive)
            rhauch Randall Hauch (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: