[SR-Users] Kamailio LCR module memory concern

Alex Balashov abalashov at evaristesys.com
Wed Jun 10 18:48:07 CEST 2015


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/



More information about the sr-users mailing list