/

Metric Weights

Metric Weights For Best Node Evaluation


instanceevaluator.streams.metricweight=30
instanceevaluator.connections.metricweight=15
instanceevaluator.subscribers.metricweight=60
instanceevaluator.memory.metricweight=20
instanceevaluator.restreamer.metricweight=35

instanceevaluator.streams.metricweight

Refers to a weight value attached to maximum stream count percentage on origin (100). Weightage of the current metric value is evaluated at runtime dynamically. The stream count metric is internally evaluated in percentage. This helps select an origin with minimum broadcast streams.

instanceevaluator.connections.metricweight

Refers to a weight value attached to maximum connection count percentage on origin (100). Weightage of the current metric value is evaluated at runtime dynamically. This helps select an origin with minimum connections.

instanceevaluator.subscribers.metricweight

Refers to a weight value attached to the net subscribers percentage on all the edges combined for a an origin (100). Weightage of the current metric value is evaluated at runtime dynamically. This helps select an origin with minimum subscribers on edge.

instanceevaluator.memory.metricweight

Metric weight for jvm reported free memory for a node. This metric helps in selection of a best node by involving the freememory value in node-weight evaluation. A node with higher freememory is favorable.

instanceevaluator.restreamer.metricweight

Metric weight for restreamer count reported by the relay node in case of dynamic clustering. This metric helps in selection of a best relay node by involving the restreamerCount parameter in the node-weight evaluation. A restreamer count value depends on an active stream being subscribed to at the edge that is passing through the relay.