At this moment I have embedded Jetty 9 with default gzip compression that can handle 65MB worth of text data compressed into 4.6MB. This is very fast when the data is given all at once. However the performance degrades so much when the text data is given as stream.
I'm trying to find alternative compression algorithm that can be plugged into Jetty 9 that can speed up the compression. I'm looking for LZ4 compression described in here and wondering how I can plug into Jetty 9.