[SR-Users] Maximum feasible size of htable?

Daniel-Constantin Mierla miconda at gmail.com
Mon Apr 13 10:19:27 CEST 2015


Hello,


On 11/04/15 00:17, Brooks Bridges wrote:
>
> I have a small-ish project that could benefit from using an htable for
> storage of very basic data that doesn’t change much, and I’d like to
> get an idea of what the group’s experience is with storing larger
> amounts of data?  Something in the 15-20GB range.
>
>  
>
> Yes I could use Redis, but the idea here is to minimize the amount of
> dependencies and processing required.
>
>  
>
> Thoughts?
>
how many items you will have in the hash table, or in other words, how
big is the average size of in item in the hash table?

Performances can be improved by adjusting the number of slots.

Another thing to consider is the loading in cache, when kamailio is
starting. It can take long when it is a really huge amount of records in
the backend, so if you need to restart or reload often, might not worth
it. On the other hand, you can add/remove by item from hash table.

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, May 27-29, 2015
Berlin, Germany - http://www.kamailioworld.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150413/cc346ad0/attachment.html>


More information about the sr-users mailing list