You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Marius Petria (JIRA)" <ji...@apache.org> on 2018/10/15 11:54:00 UTC

[jira] [Resolved] (SLING-7754) Implement passive DistributionQueue in the repository

     [ https://issues.apache.org/jira/browse/SLING-7754?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marius Petria resolved SLING-7754.
----------------------------------
       Resolution: Fixed
    Fix Version/s: Content Distribution Core 0.3.6

Thanks [~marett] for the review,

I added some more tests and commited in [1]. The implementation details you mentioned can be safely postponed.


[1] https://github.com/apache/sling-org-apache-sling-distribution-core/commit/6a3670c1cfe1779aff3f9fe9e1b4df04b4e112cd

> Implement passive DistributionQueue in the repository
> -----------------------------------------------------
>
>                 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
>             Fix For: Content Distribution Core 0.3.6
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> 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)