Re: Sneer code, Async I/O and Vanilla-java

Felipe Cruz <[email protected]>
Newsgroups gmane.comp.java.prevayler
Message-ID <CAEynwxsk8JANeQS8PRXytTEmHq0ChkBfWgZmSMuQ5CSzcdr-zg@mail.gmail.com>
Mysql benchmark with/without libaio:
http://www.bullopensource.org/posix/Bench/sysbench-oltp/results/test1/test1.html
Lighttpd benchmark using aio -
http://blog.lighttpd.net/articles/2006/11/12/lighty-1-5-0-and-linux-aio

Prevayler will be notified when write finishes but it will not block while
this operation is processed. It can process Queries while kernel is writing
on disk.

It's possible to achive something similar with a separete java thread, but
it'll require a thread-safe Queue (with sync/locking code involved) and
probably will not outperform kernel aio.

But maybe is too soon to discuss that :)




2011/9/14 Klaus Wuestefeld <[email protected]>

> > Klaus.. this async I/O stuff can lead to great preformance improvements..
>
> Any benchmarks we can see?
>
> > We
> > can ask the journal to serielize objects and a callback will be called
> when
> > it's finished.. maybe not a default behaviour but as an option i think
> that
> > would be great..
>
> Prevayler needs to know when writes are finished. What is the
> difference in performance between this async IO stuff and a separate
> Java thread that waits and notifies other threads when ready?
>
>
> ------------------------------------------------------------------------------
> BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
> Learn about the latest advances in developing for the
> BlackBerry&reg; mobile platform with sessions, labs & more.
> See new tools and technologies. Register for BlackBerry&reg; DevCon today!
> http://p.sf.net/sfu/rim-devcon-copy1
> _______________________________________________
> To unsubscribe go to the end of this page:
> http://lists.sourceforge.net/lists/listinfo/prevayler-discussion
> _______________________________________________
> "Databases in Memoriam" -- http://www.prevayler.org
>

------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerry&reg; mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry&reg; DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1

_______________________________________________
To unsubscribe go to the end of this page: http://lists.sourceforge.net/lists/listinfo/prevayler-discussion
_______________________________________________
"Databases in Memoriam" -- http://www.prevayler.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.