Thanks Daniel. I was thinking SQL is an overkill for route lookup. If an instance of Kamailio is setup as a Registrar/Redirect with a Redis (Pub/Sub) backend, is there a way for a Kamailio proxy instance to subscribe to dynamic routes from the Redis which can be injected into call variables?
Cheers, Abdul Hakeem
-----Original Message----- From: sr-users [mailto:sr-users-bounces@lists.sip-router.org] On Behalf Of Daniel-Constantin Mierla Sent: Thursday, June 11, 2015 12:11 PM To: Kamailio (SER) - Users Mailing List Subject: Re: [SR-Users] Kamailio LCR module memory concern
Hello,
you can consider mtree module if you don't need to restart very often. Eventually you can run it in an instance of kamailio that is used as redirect server, having the main proxy instances routing to it and handling the redirect responses.
Another option is using some nosql system, perhaps Redis fits well in this case, but could be also memcached or mongodb. In kamailio you have connectors to interact with these systems directly from configuration file.
Of course, if you prefer sql, Alex gave already the answer to use sqlops module.
Cheers, Daniel
On 10/06/15 23:13, Abdul Hakeem wrote:
Hi Alex, What do you recommend for such giant 137 million routes or entries ?
Cheers, Abdul Hakeem
-----Original Message----- From: sr-users [mailto:sr-users-bounces@lists.sip-router.org] On Behalf Of
Alex
Balashov Sent: Wednesday, June 10, 2015 9:41 PM To: sr-users@lists.sip-router.org Subject: Re: [SR-Users] Kamailio LCR module memory concern
On 06/10/2015 04:30 PM, Ali Taher wrote:
How did your customer handle 137 million using kamailio lcr?
I suppose I should clarify; they did not use Kamailio's lcr module. As I said earlier, I don't think the Kamailio lcr module is appropriate for such a case.
-- Alex Balashov | Principal | Evariste Systems LLC 303 Perimeter Center North, Suite 300 Atlanta, GA 30346 United States
Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct) Web: http://www.evaristesys.com/, http://www.csrpswitch.com/
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierla http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Book: SIP Routing With Kamailio - http://www.asipto.com
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users