I like sqlite, and I use DBD::SQLite in the code where I use it. It looks like a reasonably current version too (sqlite3.h).

But I would say, no, it's not really ready for concurrent use. I base this opinion off my use of Trac. I love Trac, but if there were only like 8 people on my project, the constant concurrency problems would make me insane.

This site is about perl though, so that's enough blathering from me about it.

UPDATE: Yes, well, I find that sqlite can't deal with concurrency at all. I'm not very familiar with CGI::Application, but I'm reasonably sure that if you wrote a quick little app, say using DBIx::Class or DBIx::Simple or something fun like that... Anyway, an App with two threads that do selects or inserts (or a mix of both) for a few minutes. One of the threads would eventually encounter some fatal error. Now, you could write some kind of loop to try it over again and keep track of what has and hasn't been comitted, ... or you could just use a database that's designed for concurrent use.

I'm assuming Simple and Class don't automatically retry errors. I could be wrong.

-Paul


In reply to Re: SQLite3 use in production by jettero
in thread SQLite3 use in production by Akoya

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.