Skip to content
GitHub

HotLoop Flow 2.16.5 release notes

HotLoop Flow 2.16.5 stops a Modbus read from stacking up behind a device that answers slower than it is asked. Nothing in your flows, settings or chart changes.

  • A poll asked again while the last is still being answered is merged into the newest. A Modbus getter, flex getter or read node polled through a connection shared with other nodes, to a PLC that answers one request at a time, was asked more than the device could answer. The node’s inbox grew until it was full, and the nodes in front of it blocked and then dropped on the 30 second limit. On the plant’s pod 190,000 of 320,000 queued messages sat in getters, 179 getters had a full inbox, and memory climbed with the backlog. A node can now say which of its queued messages ask the same thing, and when it takes its next message only the newest of each is handled. The getter, flex getter and read nodes key on function code, unit id, address and quantity, so a flex getter that sends different addresses still answers every different one. What comes out is the same message it always was, from the newest poll.
  • Writes are never merged. Every write has to reach the device, in order, so the write nodes do not take part.
  • A new metric counts it. hotloop_flow_node_messages_coalesced_total is the number of queued messages merged into a newer one, for each node.

A device that takes 40 ms to answer, asked 100 times a second by one getter, over 6 seconds on one machine:

Details 2.16.4 2.16.5
Polls stacked in the inbox 377 and growing 1
Polls answered 123 123
Polls merged 0 376

None.

A plain helm upgrade to the 2.16.5 image and chart, or the new tag in your Quadlet unit. Nothing happens on first start and nothing needs migrating. A flow file loads and saves byte for byte as before. This release builds the amd64 image. The 2.16 and 2 tags keep the arm64 image they already hold from 2.16.1, and arm64 comes back in 2.16.6. If you are on arm64, stay on 2.16.1 until then.

Image: ghcr.io/hotloop-io/hotloop-flow:2.16.5, linux/amd64. Chart: https://hotloop.io/hotloop-flow/. The README at this tag has the rest, with pictures: https://github.com/HotLoop-io/hotloop-flow/blob/v2.16.5/README.md