Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-2841

QMF: set TTL on agent heartbeat messages

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.7
    • Component/s: QMF
    • Labels:
      None
    • Environment:

      all

      Description

      Heartbeats are issued periodically by QMF agents. Each heartbeat is stateless - there is no information loss if a heartbeat is dropped or ignored by the client. While performance testing, it was discovered that multiple heartbeats will queue up should a console be unable to consume them fast enough. Most of these heartbeats are stale: the agent has issue a new heartbeat(s) since the older heartbeat was queued. Processing these "stale" heartbeats is useless.

      By setting the TTL in heartbeat messages, stale heartbeats will be discarded by the broker instead of being sent to the console.

        Activity

        Hide
        kgiusti Ken Giusti added a comment -

        Set the TTL value in agent heartbeat messages to 2 times the agent heartbeat interval. That should be enough to guarantee that at least one valid heartbeat remains available at all times.

        Show
        kgiusti Ken Giusti added a comment - Set the TTL value in agent heartbeat messages to 2 times the agent heartbeat interval. That should be enough to guarantee that at least one valid heartbeat remains available at all times.

          People

          • Assignee:
            kgiusti Ken Giusti
            Reporter:
            kgiusti Ken Giusti
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development