celix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pepijn Noltes (Jira)" <j...@apache.org>
Subject [jira] [Closed] (CELIX-265) Discovery: perform poll cycle when url entry has been updated
Date Tue, 17 Sep 2019 17:47:00 GMT

     [ 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)

Mime
View raw message