would a memory mapped file as the back end for the db help? If you can use j7 why not the in built one - apache. We use a db mapped to ram (linux) server restart would be catatrophe but works great for debug logs. On Mar 5, 2013 12:02 AM, "Ralph Goers" <ralph.go...@dslextreme.com> wrote:
> Do you have personal experience with any of these? > > Ralph > > > On Mar 4, 2013, at 1:19 AM, Noel Grandin wrote: > > > On 2013-03-02 19:15, Ralph Goers wrote: > >> Does anyone have experience using Berkeley DB for Java? I am looking > at creating something similar to the embedded Flume appender using Berkeley > DB as the "file channel" so that I don't have to bring in all the Flume > dependencies and the socket connection to Flume can be done asynchronously. > In effect, I would be using Berkeley DB as the queue between the client > and the asynchronous portion of the Appender. > >> > >> I'd like to know if I am opening myself up for problems in doing this > so if anyone has experience with using it I'd like to know about them. > >> > >> > > > > > > If you want something really simply, then something like one of these > should fit the bill: ( in order of increasing complexity) > > > > http://www.gaborcselle.com/open_source/java/persistent_queue.html > > http://www.michaelgoldschmidt.eu/memoryfilebackedqueue/index.html > > http://www.metanotion.net/software/sandbox/block.html > > http://jdbm.sourceforge.net/ > > > > > > > > Disclaimer: http://www.peralex.com/disclaimer.html > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: log4j-dev-unsubscr...@logging.apache.org > For additional commands, e-mail: log4j-dev-h...@logging.apache.org > >