i'm using Apache Commons Compress for Java to compress multiple log files to a single tar.bz2
archive.
However, it takes really long (> 12 hours) to compress, because i compress around 20GB of files a day.
As this library compresses files mono-threaded, i'd like to know if there is a way to do this multi-threaded.
I found many solutions (Commandline pbzip2 or some C++ libraries) but all i found for java is this blog post:
https://plus.google.com/117421466255362255970/posts/3jfKVu325zh
It seems that i can't use it in my Java application.
Is there anything out there? What would you recommend? Or is there another faster solution with similar compression rates like bzip2 ?