[asterisk-bugs] [JIRA] (ASTERISK-22033) Stasis: Split caching from caching topics

Matt Jordan (JIRA) noreply at issues.asterisk.org
Sun Jul 7 18:55:05 CDT 2013


Matt Jordan created ASTERISK-22033:
--------------------------------------

             Summary: Stasis: Split caching from caching topics
                 Key: ASTERISK-22033
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-22033
             Project: Asterisk
          Issue Type: Improvement
      Security Level: None
          Components: Core/Stasis
    Affects Versions: 12
            Reporter: David M. Lee
      Target Release: 12


Stasis caching, in its original incarnation, tightly couples the cache and the caching topic. While this was straightforward, it has a big limitation: since there's only a single caching topic per cache, you cannot subscribe to cache updates per-object.

This limitation was made evident in res_stasis.c, where the code subscribes to the channel caching topic, but then filters out received messages by channel id. If we were to split caching from the caching topic, then res_stasis can subscribe to individual channel caching topics, which is generally more useful.

This cleans up res_stasis.c, and is generally a good splitting of responsibilities.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list