Beta Industrial App Store Wiki

Enable Resilient Data Transfer with RabbitMQ - Fast Flow Variation

As well as a resilient stream (see Enable Resilient Data Transfer with RabbitMQ), it may be necessary to configure a fast (near-real-time) flow also. The difference is the resilient flow is responsible for guaranteed flow of history to the destination data archive, but the fast flow will only ever attempt to relay current values.

In situations where a connection is unreliable, this means that dashboard displays will show the latest values as soon as connections are available, rather than be delayed with a catch-up lag.

To implement a fast flow, a parallel stream is configured but with “ephemeral” settings.

RabbitMQ Settings

Fast Flow Queue

Namedata_core.tag_values.fast
Typeclassic
DurabilityTransient

Fast Flow Operator Policy

NameFast Flow
Pattern%%data_core\..*\.fast$%%
Apply ToQueues
Priority2
Max Length (bytes)1000000000
Message TTL (ms)60000

Fast Flow Shovel

</tbody> </table> ### Data Core Settings Besides configured RabbitMQ Producer and Consumer drivers, and the Data Stream Rules that manage the routing of data within a Data Core instance, a new component is required - the In-Memory Data Source. The resilient stream is routed to an archive (e.g. IP Hist) whilst the fast flow is configured to an In-Memory data source. The In-Memory data source can then be configured to route historical queries to the archive.
NameFast Data Relay
SourceAMQP 0.9.1
Source URIamqp:/ /
Source Queuedata_core.tag_values.fast
Prefetch count
Auto-deleteNever
DestinationAMQP 0.9.1
Destination URIamqps:/ /data_transfer_user:@</td></tr>
Destination Queuedata_core.tag_values.fast
Add forwarding headersNo
Reconnect delay (s)15
Acknowledgment modeNo ack