You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

An MQTT Transmission Transmitter defines which tags Transmission consumes, how it consumes these tags, how it publishes tag data and which Sparkplug assets (Group, Edge node or Device) the tags belong to, among other things.

Resource management

Each Transmitter has its own resources allocated for scanning the tag tree, receiving tag change events, caching tag configuration, storing history, etc. The more Transmitters one has, the more resources will be required.

Edge node to MQTT client (1:1)

A Transmitter can have a single Sparkplug edgenode associated with it or it can have many. Each Sparkplug edgenode will establish its own single MQTT client connection to the MQTT server. There is no limit to the number of Sparkplug edge nodes and/or MQTT clients you can have on a single GW. The more clients and/or edge nodes present, the more resources will be consumed by the application. If you are using MQTT Distributor, be aware of its concurrent connected client limits depending on license type (50 with Standard, 250 with Plus) and upgrade to Cirrus Link's Chariot MQTT Server if you need to support higher MQTT client counts.

Performance

Multiple Transmitters will always be faster because Transmission has dedicated resources and threads available per Transmitter. At start up, tags are "scanned" to get current configuration and values. When there are multiple edge nodes in a single Transmitter, tags are scanned and Birth messages are published sequentially for each Sparkplug edge node. When edge nodes are spread across multiple Transmitters, in a one-to-one relationship for example, getting tag configuration/values and publishing Sparkplug Birth messages will be done in parallel across all Transmitters and edge nodes. Adding Transmitters will allow for better scaling across more tags and Sparkplug edge nodes / devices, but will be more resource intensive and require more CPU and RAM. 

Certainly fewer Transmitters with dynamically discovered Sparkplug assets reduce the overall amount of configuration to manage and makes it simple to add new edge nodes to existing Transmitters.

Tag Limits

There is no limit to the number of tags a Transmitter can consume or a Sparkplug edge node/device can encapsulate. Many customers try to keep edge node tag counts at or below 50K tags to reduce Birth build times, message size on the wire and processing required on downstream consumers, typically Sparkplug host applications and processing required for Sparkplug Birth messages. 


  • No labels