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

David M. Lee (JIRA) noreply at issues.asterisk.org
Tue Jul 2 13:21:03 CDT 2013


David M. Lee created ASTERISK-22002:
---------------------------------------

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


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