Brad Childs
2014-Feb-21 22:26 UTC
[Gluster-users] Java 1.4+ and Gluster - new project libgfapi-java-io
I would like to announce a new project on Gluster forge - libgfapi-java-io. ?This project aims at creating a Java 1.4+ interface to gluster using libgfapi interface. https://forge.gluster.org/libgfapi-java-io libgfapi-java-io provides- - Maven compatibility - Raw Inputstream + OutputStream (very slow) - Buffered Inputstream and Outputstream (much faster.. amortizes the JNI call over larger blocks) - Full support for the following file and directory functions: delete, rename, mkdirs, list() list(filter), getMod, getUid, getGid, setUid, setGid, getAtime, getMtime, getCtime, getBlockSize, length, exists. - Very much java/OO structure hiding the libgfapi static calls. ?Quite similar to the java.io.File class. I will continue working and improving documentation, tests and examples. Currently the OutputStream is highly performant beating raw FUSE writes, and the InputStream is nearly as performant as raw FUSE writes. ?I should have the InputStream performance sorted soon. Of course if you hate old Java and are looking for the cleaner FileSystem implementation of Java 1.7, don't forget Louis' glusterfs-java-filesystem project: ?https://forge.gluster.org/glusterfs-java-filesystem -bc
Harshavardhana
2014-Feb-21 23:24 UTC
[Gluster-users] Java 1.4+ and Gluster - new project libgfapi-java-io
+1 On Fri, Feb 21, 2014 at 2:26 PM, Brad Childs <bdc at redhat.com> wrote:> I would like to announce a new project on Gluster forge - libgfapi-java-io. This project aims at creating a Java 1.4+ interface to gluster using libgfapi interface. > > https://forge.gluster.org/libgfapi-java-io > > libgfapi-java-io provides- > > - Maven compatibility > - Raw Inputstream + OutputStream (very slow) > - Buffered Inputstream and Outputstream (much faster.. amortizes the JNI call over larger blocks) > - Full support for the following file and directory functions: delete, rename, mkdirs, list() list(filter), getMod, getUid, getGid, setUid, setGid, getAtime, getMtime, getCtime, getBlockSize, length, exists. > - Very much java/OO structure hiding the libgfapi static calls. Quite similar to the java.io.File class. > > I will continue working and improving documentation, tests and examples. Currently the OutputStream is highly performant beating raw FUSE writes, and the InputStream is nearly as performant as raw FUSE writes. I should have the InputStream performance sorted soon. > > Of course if you hate old Java and are looking for the cleaner FileSystem implementation of Java 1.7, don't forget Louis' glusterfs-java-filesystem project: https://forge.gluster.org/glusterfs-java-filesystem > > > -bc > > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://supercolony.gluster.org/mailman/listinfo/gluster-users-- Religious confuse piety with mere ritual, the virtuous confuse regulation with outcomes