You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Timothee Maret (Jira)" <ji...@apache.org> on 2020/05/20 15:38:00 UTC

[jira] [Commented] (SLING-9460) Avoid seeding messages in PubQueueCache

    [ https://issues.apache.org/jira/browse/SLING-9460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17112361#comment-17112361 ] 

Timothee Maret commented on SLING-9460:
---------------------------------------

This is a great idea. The discovery messages are sent on a periodical basis with relatively short delay (10s on average per subscriber service).

> Avoid seeding messages in PubQueueCache
> ---------------------------------------
>
>                 Key: SLING-9460
>                 URL: https://issues.apache.org/jira/browse/SLING-9460
>             Project: Sling
>          Issue Type: Improvement
>          Components: Content Distribution
>    Affects Versions: Content Distribution Journal Core 0.1.10
>            Reporter: Christian Schneider
>            Assignee: Christian Schneider
>            Priority: Major
>             Fix For: Content Distribution Journal Core 0.1.12
>
>
> We seed the cache to make sure we have a known minimal offset. So when a request for an older package comes in we can create an additional consumer that can then stop when it reaches the minimal offset.
> Instead of seeding we could wait until we receive the first discovery message. Then we can start from this offset. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)