Uploaded image for project: 'Metron (Retired)'
  1. Metron (Retired)
  2. METRON-1241

Enable the REST API to use a cache for the zookeeper config similar to the Bolts

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Done
    • Major
    • Resolution: Done
    • None
    • 0.4.2
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              cestella Casey Stella
              cestella Casey Stella
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: