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

Christian Schneider resolved SLING-12218.
-----------------------------------------
    Resolution: Fixed

> Limit queue size
> ----------------
>
>                 Key: SLING-12218
>                 URL: https://issues.apache.org/jira/browse/SLING-12218
>             Project: Sling
>          Issue Type: Improvement
>          Components: Content Distribution
>            Reporter: Christian Schneider
>            Assignee: Christian Schneider
>            Priority: Major
>             Fix For: Content Distribution Journal Core 0.3.0
>
>
> Currently users can add an indefinite number of replications to the queue. 
> This is problematic as the end to end latency increases with the queue size. 
> So it makes sense to have a limit on the queue size.
> If the limit is reached we should:
>  - Block for a certain time to wait for the queue size to become smaller
>  - Fail after the timeout with an exception ( in case of http call we could 
> fail with 429 or 503)
> Metric for queue size limit reached.
> As the changed behaviour might break user code we should make the limiting 
> behaviour opt in via a PublisherConfiguration.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to