<div dir="auto">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</div><br><div class="gmail_quote"><div dir="ltr">On Thu, Jan 17, 2019, 9:40 AM Schneur Rosenberg <<a href="mailto:rosenberg11219@gmail.com">rosenberg11219@gmail.com</a> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">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.</div><br><div class="gmail_quote"><div dir="ltr">On Thu, Jan 17, 2019, 9:18 AM Vishal Pai <<a href="mailto:vishalmpai@gmail.com" rel="noreferrer noreferrer" target="_blank">vishalmpai@gmail.com</a> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hello everyone</div><div><br></div><div>what is the best way to implement the caching in opensips. I am doing following</div><div><br></div><div>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. <br></div><div><br></div><div>Can anyone help me in this also let me know if there is any caching functionality is available in opensips ?</div><div><br></div><div><br></div><div>Vishal PaiĀ  <br></div></div>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" rel="noreferrer noreferrer noreferrer" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div>
</blockquote></div>