Re: [reSIProcate] about berkeley db thread safe
- From: Ryan Kereliuk <ryker@xxxxxxxxx>
- Date: Wed, 18 Apr 2007 08:11:04 -0600
I'm also a big fan of SQLite for certain applications. For SQLite
there are a couple caveats about thread-safety to keep in mind.
http://www.sqlite.org/faq.html#q8
Thanks,
-Ryan
On 2007-04-18 at 21h31, hongsion wrote:
>
> 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.