Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-10077

Mode to raise events only locally

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Content Distribution Journal Core 0.1.18
    • None
    • None

    Description

      Currently the o/a/s/d/a/p/queued and o/a/s/d/a/p/distributed events are raised as local events in each author instance of a cluster. Handling those events in each author instance makes sense for use cases that require maintaining a distributed data structure like a cache. However, some use cases like content invalidation, would need to handle the events only once (deduplicate events).

      Deduplicating events will be done by leveraging the Sling Discovery API. When deduplicating is set, only the leader instance will sent distributed events.

      Prior suggested approach of distributing events through the cluster is not a good option because it could overload the repository due to steady and frequent commits required to support the distribution of events through the cluster.

      Attachments

        Issue Links

          Activity

            People

              balasoiu Roxana-Elena Balasoiu
              marett Timothee Maret
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: