I have completed the first phase of the new fast journal storage for JBM 2.0 :)
It's a fast append only journal, with full transaction and xa support that can be used
to store any arbitrary records.
The actual IO access is abstracted out so the same journal code can be used against
different IO systems. So far I have create an implementation for Java file NIO (file
channels), and this is now being used in TRUNK as the default storage mechanism - the
entire test suite runs successfully against this.
This is already showing pretty blinding performance :)
Next stop is to plugin it into our new Linux async io layer. This is a thin JNI wrapper
around Linux async IO (thanks to Clebert), and can plugged into our journal. This should
give us even better peformance when running on Linux.
The idea is we use Java NIO when running on other OSes and Linux async IO when running on
Linux.
What remains to be done is the file reclamation implementation.
A blog entry is coming up on this.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138269#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...