If large amounts of compressable data is transferred over RMI, then valid question to ask is if compression would make any benefit there. However, before going into compression of the outputstream, first thing is to do algorithmic changes to reduce traffic. I.e. no compresion can match algorithm which avoids reduntant traffic completely. Also compression adds extra overhead into communication by requiring additional memory in both ends for (un)compress.

/ java

Vastaa

Sähköpostiosoitettasi ei julkaista. Pakolliset kentät on merkitty *

This site uses Akismet to reduce spam. Learn how your comment data is processed.