Broadcast that iterates over each active instance and sends over TCP is
inefficiently serializing the payload each time it sends to an instance.
When udp broadcast is used, the payload of gms send message is serialized once
and then broadcast to all instances in the cluster. Correct this inefficiency
since DistributedStateCache and GroupHandle.sendMessage(String targetComponent,
bytes[]) serializes the
GMSMessage object FOR EACH INSTANCE in cluster.
This change will not impact GMS notifications or heartbeats since they rely on
udp broadcast of gms sendMessage.
Broadcast that iterates over each active instance and sends over TCP is inefficiently serializing the payload each time it sends to an instance.
When udp broadcast is used, the payload of gms send message is serialized once and then broadcast to all instances in the cluster. Correct this inefficiency since DistributedStateCache and GroupHandle.sendMessage(String targetComponent, bytes[]) serializes the GMSMessage object FOR EACH INSTANCE in cluster.
This change will not impact GMS notifications or heartbeats since they rely on udp broadcast of gms sendMessage.
Environment
Operating System: All Platform: All
Affected Versions
[current]