< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index  

Re: [reSIProcate] about berkeley db thread safe


Title: [reSIProcate] about berkeley db thread safe
The UserStore is the only thing left that is accessed by multiple threads without mutexing, after my recent changes.  Do you have any code to contribute for initializing Berkely DB environment for multithreaded access?
 
Thanks,
 
Scott


From: resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxxx on behalf of hongsion
Sent: Wed 4/18/2007 9:31 AM
To: resiprocate-devel@xxxxxxxxxxxxxxxxxxxx
Subject: [reSIProcate] about berkeley db thread safe

Hi,
        I found in repro Berkeley db is only used in single thread mode, to
use it in concurrent mode we have to initialize an environment for it. So I
think now repro's Store is not thread safe even using Berkeley db. Also we
found mysql connection will disconnect after long time no operation. So
there should be some work to keep alive for mysql connection in repro's
store. And I have a question why not use sqlite in repro.

Regards,
hongsion

_______________________________________________
resiprocate-devel mailing list
resiprocate-devel@xxxxxxxxxxxxxxxxxxxx
https://list.resiprocate.org/mailman/listinfo/resiprocate-devel