Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-2430

GossipRouter: more efficient routing

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 5.1
    • None
    • None

      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.

              rhn-engineering-bban Bela Ban
              rhn-engineering-bban Bela Ban
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: