[jboss-jira] [JBoss JIRA] (JGRP-2430) GossipRouter: more efficient routing

Bela Ban (Jira) issues at jboss.org
Wed Jan 15 10:49:19 EST 2020


    [ https://issues.redhat.com/browse/JGRP-2430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13949377#comment-13949377 ] 

Bela Ban commented on JGRP-2430:
--------------------------------

Compare the perf between sending local messages (e.g. over TCP or UDP) and sending remote messages (TUNNEL <-> GossipRouter)

> GossipRouter: more efficient routing
> ------------------------------------
>
>                 Key: JGRP-2430
>                 URL: https://issues.redhat.com/browse/JGRP-2430
>             Project: JGroups
>          Issue Type: Enhancement
>            Reporter: Bela Ban
>            Assignee: Bela Ban
>            Priority: Major
>             Fix For: 4.2.0
>
>
> GossipRouter supports both NIO (ByteBuffer) and TCP (stream-based) connections. In both cases, however, the entire message is read and then routed to the destination address.
> It would be better to only read the cluster name and target address, and then use efficient stream-to-stream (or channel-to-channel) _transfer mechanisms_, which avoids temporary copies of data and the full reading of messages.
> Also look into routing of entire message _batches_.
> Investigate whether this is possible.



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list