You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@metron.apache.org by "Nick Allen (JIRA)" <ji...@apache.org> on 2017/12/19 19:07:00 UTC
[jira] [Updated] (METRON-1241) Enable the REST API to use a cache
for the zookeeper config similar to the Bolts
[ https://issues.apache.org/jira/browse/METRON-1241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nick Allen updated METRON-1241:
-------------------------------
Fix Version/s: 0.4.2
> Enable the REST API to use a cache for the zookeeper config similar to the Bolts
> --------------------------------------------------------------------------------
>
> Key: METRON-1241
> URL: https://issues.apache.org/jira/browse/METRON-1241
> Project: Metron
> Issue Type: Improvement
> Reporter: Casey Stella
> Assignee: Casey Stella
> Fix For: 0.4.2
>
>
> Currently, our bolts use a TreeCache to capture and update internal state. The REST API, on the other hand, polls zookeeper every time a request is made to retrieve a configuration, a poll model. Rather than do this, it would be better to share an abstraction between the two pieces of infrastructure to enable the REST API to be backed by a TreeCache, which will prevent zookeeper from being abused and migrate it to a push model.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)