in reply to Re: SQLite with mod_perl
in thread SQLite with mod_perl
The application is loaded when server starts via Plack::Handler::Apache2. As soon as I query, a lock a placed on the entire db (SQLite doesn't have a row-level lock), and never let go. Any subsequent query, as long as it is a SELECT, works, but any other query that UPDATEs or DELETEs fails.
>but as you haven't posted any code, it's hard to diagnose
I don't know what code to post, in the sense that it is my entire application. Of course, there is no problem in using SQLite if use cgi, but I really do want to move to a persistent environment.
Other than the above problem, SQLite is really brilliant. I can't quite imagine anything (CouchDB, MongoDB, or any other new fangled data storage technologies) quite matching what it can do.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: SQLite with mod_perl
by james2vegas (Chaplain) on Oct 03, 2010 at 02:42 UTC | |
by punkish (Priest) on Oct 09, 2010 at 02:12 UTC | |
by james2vegas (Chaplain) on Oct 09, 2010 at 09:27 UTC | |
by punkish (Priest) on Oct 09, 2010 at 16:43 UTC |