[
https://issues.apache.org/jira/browse/SLING-7754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16522160#comment-16522160
]
Bertrand Delacretaz commented on SLING-7754:
--------------------------------------------
Ok, thanks for clarifying!
I think we've been abusing JCR in some places when implementing such queues in
the past, hopefully in your case there's a JCR-independent API in front, that
allows for reimplementing them on more specialized queuing services should the
need arise.
> Implement passive DistributionQueue in JCR
> ------------------------------------------
>
> Key: SLING-7754
> URL: https://issues.apache.org/jira/browse/SLING-7754
> Project: Sling
> Issue Type: Improvement
> Components: Content Distribution
> Reporter: Marius Petria
> Assignee: Marius Petria
> Priority: Major
>
> 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
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)