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

Implement passive DistributionQueue in the repository

    XMLWordPrintableJSON

Details

    Description

      In order to minimize dependency on Sling Jobs and improve performance we should offer an implementation passive queues in JCR.

      Passive queues are distribution queues [1] for which no queue processor is defined. They are only used to store items and do not need rebalancing between instances. They just need to be stored and fetched (FIFO semantics) and this can easily be implemented in JCR with a simpler implementation that does not use querying (querying for jobs is problematic like OAK-7495 shows).

      [1] https://github.com/apache/sling-org-apache-sling-distribution-core/blob/master/src/main/java/org/apache/sling/distribution/queue/spi/DistributionQueue.java

      Attachments

        Issue Links

          Activity

            People

              mpetria Marius Petria
              mpetria Marius Petria
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h