[jboss-jira] [JBoss JIRA] (JGRP-2056) Measure latency for RPCs

Bela Ban (JIRA) issues at jboss.org
Fri Oct 7 05:02:00 EDT 2016


    [ https://issues.jboss.org/browse/JGRP-2056?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13303837#comment-13303837 ] 

Bela Ban commented on JGRP-2056:
--------------------------------

Latency for members A and B in the same JVM is ~60us for regular messages (JChannel) (bla) and 3-4us higher for MessageDispatcher (bla2).

Using {{SenderSendsBundler}}, the numbers drop to 42us (bla) and 47us (bla2).

RoundTrip shows RTT times (A and B are 2 processes on the same box) of 102us ({{TransferQueueBundler}}) and 83us ({{SenderSendsBundler}}), which is about twice the latency, which is OK.

> Measure latency for RPCs
> ------------------------
>
>                 Key: JGRP-2056
>                 URL: https://issues.jboss.org/browse/JGRP-2056
>             Project: JGroups
>          Issue Type: Task
>            Reporter: Bela Ban
>            Assignee: Bela Ban
>             Fix For: 4.0
>
>
> Measure latency for single-thread tests between a sender and a receiver, and identify potential slow-downs. Look at
> * message bundlers at the sender and
> * message batch handling at the receiver
> This needs to be done for both requests and responses.
> Perhaps provide a way for callbacks to be invoked to measure the latency, e.g. request sent (dest, ID), response received (ID), so that tests like IspnPerfTest could collect them and create histograms.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list