[asterisk-dev] Review Request: Sorcery Caching

George Joseph george.joseph at fairview5.com
Thu Apr 30 11:52:29 CDT 2015


On Thu, Apr 30, 2015 at 10:29 AM, Joshua Colp <jcolp at digium.com> wrote:

> George Joseph wrote:
>
>> Ok, but will the caching wizard support the C,U,D operations as the
>> memory wizard does?.
>>
>
> They could, but the caching infrastructure doesn't currently directly
> expose the mechanism to do that. I'd err on the side of using observers for
> it. The core has specific logic for caching because there are no observers
> on retrieval. As well, the observers are only invoked when the operation
> actually occurs.
>
> Ok, so what would happen if I called ast_sorcery_create with realtime
being the concrete store?  How does the cache stay synchronized?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20150430/e760d48d/attachment-0001.html>


More information about the asterisk-dev mailing list