You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celix.apache.org by "Pepijn Noltes (Jira)" <ji...@apache.org> on 2019/09/17 17:47:00 UTC

[jira] [Closed] (CELIX-265) Discovery: perform poll cycle when url entry has been updated

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

Pepijn Noltes closed CELIX-265.
-------------------------------
    Resolution: Fixed

> Discovery: perform poll cycle when url entry has been updated
> -------------------------------------------------------------
>
>                 Key: CELIX-265
>                 URL: https://issues.apache.org/jira/browse/CELIX-265
>             Project: Celix
>          Issue Type: Improvement
>            Reporter: Bjoern Petri
>            Assignee: Bjoern Petri
>            Priority: Major
>
> Currently the discovery implementation uses a two step approach. First, there is the announcement of a webserver url in etcd, shm or pre-configured. Second this url gets periodically polled containing informations about the available webservers. 
> Although having some advantages, this approach leads to either a busy thread when setting the poll interval too low or a delay when setting the interval too high. 
> For etcd and shm this could be improved by performing a poll when either receiving an "update" (etcd) or unlocking the mutexes protecting the critical area (shm). 
>     



--
This message was sent by Atlassian Jira
(v8.3.2#803003)