[OpenSIPS-Users] Opensips caching
Ben.Newlin at genesys.com
Thu Jan 17 08:49:48 EST 2019
No, the dynamic routing module will cache the entire configuration and only read from memory. It must be reloaded when the configuration changes. It’s very quick.
From: Users <users-bounces at lists.opensips.org> on behalf of Schneur Rosenberg <rosenberg11219 at gmail.com>
Reply-To: OpenSIPS users mailling list <users at lists.opensips.org>
Date: Thursday, January 17, 2019 at 2:44 AM
To: OpenSIPS users mailling list <users at lists.opensips.org>
Subject: Re: [OpenSIPS-Users] Opensips caching
I believe that dynamic routing runs a SQL query every time, I don't think that can be cached, but if you do your own logic in opensips, you should be able to use cashedb_memcached
On Thu, Jan 17, 2019, 9:40 AM Schneur Rosenberg <rosenberg11219 at gmail.com<mailto:rosenberg11219 at gmail.com> wrote:
In the script you have multiple caching options, cache_store and cache_fetch from cachedb_mamcached work without external servers like cachedb_mongo that requires mongodb or other nosql modules.
On Thu, Jan 17, 2019, 9:18 AM Vishal Pai <vishalmpai at gmail.com<mailto:vishalmpai at gmail.com> wrote:
what is the best way to implement the caching in opensips. I am doing following
we have a rate table with NPANXX with rate per minute. Every time when we do outbound calls we get NPANXX of dialed number and search it in database. Since in this way it will create a load on cpu for each select query.
Can anyone help me in this also let me know if there is any caching functionality is available in opensips ?
Users mailing list
Users at lists.opensips.org<mailto:Users at lists.opensips.org>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users