punkish has asked for the wisdom of the Perl Monks concerning the following question:
As expected, my entire web application is loaded by the Plack Apache handler (Plack::Handler::Apache2) when the web server is started. Well, the first db query creates a lock on the entire database, and any subsequent query that has to modify the db fails. Disconnecting the dbh is not an answer, as subsequent web queries will fail.
What is my way out? Can I use SQLite in a persistent web environment or not? Should I be looking for some other db store?
I am not a fan of MySQL, and don't want to use it. I could potentially use PostGres, but I'd rather use something lightweight, and preferably sql-based as using key/value databases such as Tokyo Cabinet would require learning a whole new way. I'd rather really use SQLite.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: SQLite with mod_perl
by Corion (Patriarch) on Oct 02, 2010 at 23:21 UTC | |
by james2vegas (Chaplain) on Oct 03, 2010 at 02:22 UTC | |
by punkish (Priest) on Oct 03, 2010 at 02:19 UTC | |
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 | |
| |
Re: SQLite with mod_perl
by morgon (Priest) on Oct 03, 2010 at 00:36 UTC | |
by james2vegas (Chaplain) on Oct 03, 2010 at 02:18 UTC | |
by punkish (Priest) on Oct 09, 2010 at 02:21 UTC |