Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-5545

Make lazy near caching more selective

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Unresolved
    • Major
    • None
    • None
    • None
    • None

    Description

      In the current form, when lazy near caching is enabled, the server sends invalidation messages for any key that has been created, modified or removed.

      This is suboptimal for a couple of reasons:

      1. First of all, a near cache might only interested in receiving invalidation events for those keys that are currently stored in the near cache. If the near cache is small subset of the entire cache, having such option would vastly reduce the number of events sent to clients. So, there needs to be a way to be able to narrow the events sent from the server to this subset of keys.

      2. Lazy near caches do not care about created events. If an entry is present in the near cache, it has already been created, so it's only interested in modified and removed events. There needs to be a way to narrow this down too.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rh-ee-galder Galder ZamarreƱo
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: