You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celix.apache.org by "Bjoern Petri (JIRA)" <ji...@apache.org> on 2015/10/04 21:18:26 UTC
[jira] [Created] (CELIX-265) Discovery: perform poll cycle when url
entry has been updated
Bjoern Petri created CELIX-265:
----------------------------------
Summary: 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
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
(v6.3.4#6332)