Just a second...

Statistics

Diffusion™ provides statistics about the server, publishers, clients, and topics.

Statistics exposed by MBeans

Diffusion provides a set of statistics as MBeans. For more information about these statistics, see MBeans.

These statistics can be accessed in the following ways:

You can configure whether these statistics are collected and how they are reported. For more information, see Configuring statistics.

You can configure Diffusion to report the top-level statistics through JMX. These statistics appear under com.pushtechnology.diffusion.metrics. Reporting statistics through JMX can have a significant performance impact. Ensure that you test how using MBeans for statistics affects your solution.

The following is a list of all the top level statistics and their attributes.
  • clients.concurrent
    • Count
  • clients.concurrent_max
    • Value
  • client.connections
    • RateUnit
    • Count
    • FifteenMinuteRate
    • FiveMinuteRate
    • MeanRate
    • OneMinuteRate
  • clients.disconnections
    • RateUnit
    • Count
    • FifteenMinuteRate
    • FiveMinuteRate
    • MeanRate
    • OneMinuteRate
  • eventpublishers.concurrent
    • Count
  • eventpublishers.connections
    • RateUnit
    • Count
    • FifteenMinuteRate
    • FiveMinuteRate
    • MeanRate
    • OneMinuteRate
  • eventpublishers.disconnections
    • RateUnit
    • Count
    • FifteenMinuteRate
    • FiveMinuteRate
    • MeanRate
    • OneMinuteRate
  • publishers.loaded
    • Count
  • publishers.started
    • Count
  • topics.additions
    • RateUnit
    • Count
    • FifteenMinuteRate
    • FiveMinuteRate
    • MeanRate
    • OneMinuteRate
  • topics.count
    • Count
  • topics.deletions
    • RateUnit
    • Count
    • FifteenMinuteRate
    • FiveMinuteRate
    • MeanRate
    • OneMinuteRate
In all top-level statistics that attributes have the following values:
Count
The total number of items or events of this type over the lifetime of the metric.
RateUnit
The unit for the various rates. Generally, this is events per second.
MeanRate
The count divided by the lifetime of the metric.
OneMinuteRate, FiveMinuteRate, FifteenMinuteRate
A moving average across the given time period that is exponentially weighted towards new data.

Statistics in the Publisher API

You can get some statistics from the Publisher API. For more information, see the Java Unified API documentation.

The following statistics are provided through the Publisher API:
  • PublisherStatistics
    • InboundClientMessageStatistics
      • AverageMessageSize
      • BytesOnWire
      • NumberOfMessages
    • OutboundMessageStatistics
      • AverageMessageSize
      • BytesOnWire
      • NumberOfMessages
  • ClientStatistics
    • InboundMessageStatistics
      • AverageMessageSize
      • BytesOnWire
      • NumberOfMessages
    • OutboundMessageStatistics
      • AverageMessageSize
      • BytesOnWire
      • NumberOfMessages
  • TopicStatistics
    • InboundMessageStatistics
      • AverageMessageSize
      • BytesOnWire
      • NumberOfMessages
    • OutboundMessageStatistics
      • AverageMessageSize
      • BytesOnWire
      • NumberOfMessages
    • TotalNumberOfSubscribers