An Edge Gateway That Buffers: Six Hours Offline, and Then What

A table of three publishing strategies for the same machines over a six hour outage, showing the number of metric changes, the number of messages, the mean message size, the megabytes buffered and the resulting steady rate, with the no-deadband row highlighted at 31.66 megabytes

An Edge Gateway That Buffers: Six Hours Offline, and Then What Six hours of the carton transfer at its real change rates is 2.12 MB. Four machines on the same gateway is 8.49 MB. The same four machines with every tag published every second and no deadband on anything is 31.66 MB, and that is … Read more

Sparkplug B Properly: Birth and Death Certificates, Metrics and Rebirth

A five-stage chain showing CONNECT with clean start true and the NDEATH will at QoS 1, SUBSCRIBE to NCMD at QoS 1, NBIRTH at QoS 0 with sequence zero and every metric, DBIRTH at sequence one, and DDATA by alias, with three numbered break points marked underneath for a missing will, a missing subscription and a missing metric

Sparkplug B Properly: Birth and Death Certificates, Metrics and Rebirth The first message the carton transfer gateway sends is 592 bytes on the topic spBv1.0/Plant2_CartonLine/NBIRTH/GW-TR14, it carries all 19 metrics the node will ever publish, and it goes out at QoS 0 with the retain flag clear. Everything about that sentence looks wrong to somebody … Read more

Docker on a Plant-Floor Raspberry Pi: Restart Policy, Log Rotation and the Container That Filled the Card

The card's layout: the containers JSON log with no cap, overlay2 growing with every pull, named volumes holding the data, the journal capped at 10 % of the filesystem, image metadata

A Docker Raspberry Pi that stopped logging on a Sunday had /var/lib/docker/containers/3f9a…/3f9a…-json.log at 22 GB when du got to it, and the file belongs to a container whose only job was to reconnect to a broker that had been down since Thursday. Docker’s default log driver is json-file, its default max-size is unlimited, and a … Read more

Advertisement