]
Bela Ban updated JGRP-2065:
---------------------------
Summary: RoundTrip: latency is high compared to RoundTripTcp/RoundTripServer (was:
RoundTrip: performance is slow compared to RoundTripTcp/RoundTripServer)
RoundTrip: latency is high compared to RoundTripTcp/RoundTripServer
-------------------------------------------------------------------
Key: JGRP-2065
URL:
https://issues.jboss.org/browse/JGRP-2065
Project: JGroups
Issue Type: Task
Reporter: Bela Ban
Assignee: Bela Ban
Fix For: 4.0
{{RoundTrip}} is a simple test between 2 members where the sender continually sends a
message, the receiver receives it and sends the response, and the sender unblocks when the
response is received. The time for the request is then logged at the sender and a
min/avg/max value is computed (probably changed to histograms later).
RoundTrip uses a JGroups channel, configured with {{-props}}, e.g. {{-props ~/tcp.xml}}.
{{RoundTripTcp}} does the same, but uses direct TCP sockets (no JGroups) for
communication.
{{RoundTripServer}} uses the client-server classes of JGroups for communication, but no
channel is used.