[Kamailio-Users] perlvdb

Daniel-Constantin Mierla miconda at gmail.com
Tue Jan 13 16:34:34 CET 2009


Hello,

On 01/13/2009 10:18 AM, Bastian Friedrich wrote:
> Hi,
>
> On Monday 12 January 2009, victorpy wrote:
>   
>> I want to know if it's posible with this module to load a database in
>> memory.
>>     
>
> yes, that would be possible, but ...
>
>   
>> I want to do this for performance. 
>>     
>
> ... the transition to the Perl layer consumes more time than the database 
> requirests themselves. In other words: perlvdb is much slower than regular 
> database requests, even _without_ querying any database at all.
>   
that depends on how fast is DB -- anyhow, going to it via perl is 
definitively slower.

On the other hand, probably using perl and create a cache is perl share 
memory could be faster when dealing with exotic data storage systems.

Cheers,
Daniel

> Use Daniel's hints. :)
>
> Best
>    Bastian
>
>   

-- 
Daniel-Constantin Mierla
http://www.asipto.com





More information about the Users mailing list