Armin ranjbar schreef:

> im working on high performance dns server using perl , its nearly
> completed but i had some very urgent and bad looking problem , 
> well ,  im using single hash value to store all queries , for example
> 
> $mhash{"kernel.org"}{"MX"} returns cached MX query of kernel.org ,
> the problem is , the data is not cache-able across threads ( threads
> are making query ).  
> 
> here is some solution and why i think they are not very usable ,
> please correct me 
> 
> 1 > using IPC::Shareable
> very limited , i ran out of space for locks .
> 
> 2 > using threads::shared
> looks like its unable to share second and third level of my %mhash .
> 
> 3 > in memory databases using DB_file
> just like threads::shared its unable to handle second and third level
> of my mhash . 
> 
> ideal solution would be some kind of "Unlimiteed Ipc::Shareable"
> module , any idea please ? 

Or use DBD:SQLite? 

-- 
Affijn, Ruud

"Gewoon is een tijger."

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to