Ted Dunning wrote:
It seems reasonable that (de)-serialization could be done in threaded fashion and then just block on the (read) write itself.
That would require a buffer per thread, e.g., replacing Writer#buffer with a ThreadLocal of DataOutputBuffers. The deflater-related objects would also need to accessed through ThreadLocals. That could work.
Doug