Urgent.News

What's breaking now, across thousands of outlets.

Tech

Reliable Pipeline Telemetry: Handling Late Data, Retries and Edge Outages

A remote station loses connectivity for twenty minutes. When the connection returns, its gateway uploads buffered pressure and flow readings. The backend receives the data successfully—but the dashboard replaces a current measurement with an older one, repeated messages create duplicate records, and historical pressure changes trigger new operational alerts. The transport recovered. The…

Remote stations can lose connectivity for extended periods, often requiring robust telemetry systems to handle late data, retries, and edge outages. When connectivity is restored, the gateway uploads buffered pressure and flow readings to the backend, which must handle recovery correctly to avoid issues such as using outdated measurements, creating duplicate records, and triggering false operational alerts.

To ensure reliable pipeline telemetry, explicit rules must be established for event time, duplicate delivery, data quality, and replay between field equipment and the monitoring application.

A pipeline telemetry backend must collect measurements and equipment states from distributed assets and deliver them to monitoring software. Typical inputs include pressure, flow, temperature, pump status, and valve position. To meet the requirements of intermittent connectivity, the backend should be able to preserve the asset identity, timestamp, measurement usability, and whether the record belongs in the current state, historical storage, or both.

Defining a message contract is essential for clear communication between the field equipment and the backend. A documented record format, rather than allowing each gateway to publish unrelated payloads, should be used. An illustrative application schema example includes fields such as schema version, station ID, asset ID, tag, value, unit, source timestamp, gateway timestamp, boot ID, sequence number, quality, and delivery mode. Each field should be precisely defined to ensure accuracy and consistency in data transmission.

Historical storage and current state are two distinct aspects of pipeline telemetry. Historical storage records what happened and when, while the current state reflects the newest usable observation and whether it is still fresh. Delayed records can be valid historical data without being suitable for the current state view. A processing pattern can be designed to validate the schema, check if the record has already been inserted into the historian, determine if the timestamp is usable, handle records with poor quality, and update the current state if necessary.

Duplicate handling is crucial when retries can deliver the same record more than once. Without proper duplicate handling, repeated deliveries can lead to inflated event counts, distorted aggregates, and repeated incidents. An identity can be created using a combination of station ID, asset ID, tag, boot ID, and sequence number. Idempotent storage using unique constraints, conditional writes, or equivalent mechanisms should enforce duplicate protection.

Even if the historian is duplicated, downstream actions need to be protected against repeated notifications or work orders.

Buffering at the edge with a capacity plan is necessary when the central application is unreachable. The edge gateway should persist observations locally while maintaining a defined acknowledgement policy, controlled retries, storage limits, and overflow policies. Queue health reporting is also essential to monitor the system's performance during an outage.

Estimating capacity involves calculating the actual acquisition rate and accounting for storage overhead and margin. Recovery tracking should include queue depth, the age of the oldest queued record, disk usage, and upload failures. After reconnection, the system needs to drain the backlog while continuing to acquire new observations, ensuring a smooth transition between replay and live traffic.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Terminal Agent vs. Web Chat: Pick by Blast Radius

Every major AI lab now ships a command-line agent that runs on your machine with access to your files and shell. The deciding factor is which tasks you deliberately keep out of it.

  • Terminal agents with write access to git pose higher risk than web chat.
  • Blast radius varies by task, not model or prompt quality.
  • Three-tier system with approval modes and sandboxing balances autonomy and safety.

How do you erase what you anchored?

Ukratko: osobni podaci izvan chaina uz nasumični salt po zapisu; na chain ide samo commitment. Obrišete li podatak i salt, commitment ne pokazuje ni na što.

  • Anchor data in regular store, commit on chain
  • Remove content and salt from external store
  • Commit remains on chain, history verified

How to Test Any Controller Online in 60 Seconds (No Downloads, No Software)

Your character is moving on their own again. Or one face button only registers when you press it a little harder than the rest.

  • JoyPadTester tool provides online controller testing in 60 seconds
  • Modern browsers use Gamepad API to read gamepad input directly
  • Test reveals drift, circularity problems, button/trigger issues, and vibration

More from Thursday 22 October →