JGroups
  1. JGroups
  2. JGRP-1595

STABLE: send stable messages to coordinator only

    Details

    • Type: Feature Request Feature Request
    • Status: Resolved Resolved (View Workflow)
    • Priority: Major Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 3.3
    • Labels:
      None
    • Similar Issues:
      Show 10 results 

      Description

      While JGRP-1570 only changes the default for desired_avg_gossip and max_bytes (not scaling them with the cluster size), this issue is about a new stable protocol, STABLE2, which works well in large clusters without generating too much traffic.
      It works as follows:

      • A dedicated member (the coord) periodically multicast a STABLE message
      • Everyone replies with a (unicast) STABLE message and when the coord has received STABLE replies from everyone, it multicasts a STABILITY message
      • This would only require a multicast from the coord to everyone, establishing TCP connections from the coord to everyone (usually already exists because of the VIEW-CHANGE multicast), but everyone would reuse the same TCP connection to send the reply

      Another solution could be that every member sends its STABLE message to the current coordinator (triggered by time or size), and when the coordinator has received STABLE messages from all members, it multicasts a STABILITY message

        Issue Links

          Activity

          Hide
          Bela Ban
          added a comment -

          Didn't add a new protocol, but instead added send_stable_msgs_to_coord_only to STABLE, which toggles sending messages to all members, or only to the coordinator

          Show
          Bela Ban
          added a comment - Didn't add a new protocol, but instead added send_stable_msgs_to_coord_only to STABLE, which toggles sending messages to all members, or only to the coordinator
          Hide
          Bela Ban
          added a comment -

          Added flag send_stable_msg_to_coord_only, which (if true) sends STABLE messages to the coord only, instead of to all cluster members (reducing traffic)

          Show
          Bela Ban
          added a comment - Added flag send_stable_msg_to_coord_only, which (if true) sends STABLE messages to the coord only, instead of to all cluster members (reducing traffic)

            People

            • Assignee:
              Bela Ban
              Reporter:
              Bela Ban
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: