-
Enhancement
-
Resolution: Done
-
Minor
-
None
-
None
-
False
-
False
-
When using GossipRouter with TCP (not TCP_NIO2), a request is read and then a ByteArrayDataOutputStream is created to route the request as a byte array to other members. This is done every time, thus memory allocation ensues.
Instead, we could cache a ByteArrayDataOutputStream for each sender, and therefore avoid memory allocation.