[asterisk-bugs] [JIRA] (ASTERISK-23204) Device state cache requires improvement

Mark Michelson (JIRA) noreply at issues.asterisk.org
Tue Jan 28 16:25:03 CST 2014


Mark Michelson created ASTERISK-23204:
-----------------------------------------

             Summary: Device state cache requires improvement
                 Key: ASTERISK-23204
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23204
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Core/Stasis
    Affects Versions: 12.0.0
            Reporter: Mark Michelson


Device state caching is performed in such a way that it has two major problems:

1) A single device results in multiple device state cache entries. This means that in order to find what the "true" device state is, the entire device state cache has to be traversed to aggregate the total state of a device for every device state update.
2) The traversal and aggregation of the device state cache happens in a separate thread from the publisher, meaning that an understanding of how stasis caching works is violated.

It would be best if this could be fixed so that even if there are multiple external identically named devices, they all fall under one cache entry in the device state cache and the cache entry were updated at the time of device state publication.

--
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