[SR-Users] Kamailio LCR module memory concern
Ali Taher
ataher at vanrise.com
Wed Jun 10 21:53:12 CEST 2015
Hi Alex,
What do you mean by "consider an LCR approach that does not rely on having the entire data set in memory, but instead utilises an efficient, lightweight, but still database-bound query approach."
Can I configure kamailio to read directly from the database without setting them in the memory? or you mean trying to compress the rules
Thanks,
Ali
Sent from my iPhone
> On Jun 10, 2015, at 7:48 PM, Alex Balashov <abalashov at evaristesys.com> wrote:
>
>> On 06/10/2015 12:44 PM, Ali Taher wrote:
>>
>> This is the number of rules generated from our system for LCR routing
>> (we are dealing with transit traffic)
>
> Indeed, but if you have a system of that size and complexity, I would encourage you to consider an LCR approach that does not rely on having the entire data set in memory, but instead utilises an efficient, lightweight, but still database-bound query approach.
>
> What if your route table doubles in size?
>
> Even estimating 1 kB per rule and exactly 44m rules, you're looking at 42 GB of memory. That's not realistic. I'd go back to the architectural drawing board.
>
> --
> 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 at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
More information about the sr-users
mailing list