Summary

  • In RFC 3342, expiry of reportAfter generated a transient timing report but explicitly did not affect delivery; the relay forwarded the original data regardless.
  • noLaterThan was the separate hard delivery budget, while returnTrip bounded the final-hop report itself, so warning, enforcement, report receipt and application outcome remained distinct evidence states.

RFC 3342 — the APEX Option Party Pack, a Standards Track document from July 2002 — drew a line that most modern monitoring stacks still smudge: the timer that tells you something is slow is not the timer that stops it. In APEX, reportAfter fired a transient 350 report and the relay forwarded the data anyway. noLaterThan was the hard budget that could actually halt forwarding. returnTrip governed the receipt’s own journey home. Three clocks, three meanings, and one inheritance worth stealing.

The seductive shortcut: alarm equals failure

The seductive reading of a delay alarm is that something has failed. RFC 3342 refused the shortcut. Its dataTiming option carried several millisecond values that looked interchangeable and were not: one asked when the originator should be told delivery was running long, another set the ceiling after which forwarding should cease, a third limited how long the final report had to make its own way back.

That distinction matters because control systems love to promote monitoring events into state. A dashboard takes an alert and stamps the job failed. A retry controller launches a second copy. An operator cancels downstream work. In the RFC’s delayed-delivery branch the original data is still alive after the alert — so a system that treats the report as a verdict can manufacture duplication, or two contradictory actions, out of perfectly conforming protocol behaviour. A dashboard that files an alert as a death certificate will bury a body that is still walking.

The soft threshold spent itself, not the payload

APEX began life as an immediate, best-effort application-layer datagram service: no options, no queue, and an unavailable relay could mean a silent drop. RFC 3342 added controlled queuing and reporting. Because every relay had to process the timing option, the originator marked it for all hops and required understanding.

Immediately before forwarding, a relay subtracted the time spent locally — finding the next relay, binding, preparing to send — from reportAfter. If the remainder hit zero or went negative, the relay set it to zero and invoked the report service. Then the specification says the data element goes to the next relay regardless. At the endpoint hop, failing to receive the endpoint’s ok inside that interval produced the same transient report.

The report named the original transaction and recipient with reply code 350, a transient-success indicator. It did not say the payload had been discarded. It did not convert a late delivery into a permanent failure. It recorded that a reporting threshold had been crossed. Once the value reached zero, later hops could carry that exhausted observation state without pretending the message itself had expired.

Which is a rather elegant piece of evidence design. The alarm is not false because delivery later succeeds, and the later success does not make the alarm false. One statement is about elapsed processing past a threshold; the other is about whether the message crossed the boundary it had to cross.

A hard budget used a different verb

noLaterThan supplied the ceiling, and it used a different verb. Each relay decremented it by local processing time immediately before forwarding; if the budget reached zero or below, processing had failed and the relay did not send the data onward. With reportErrors true, it also invoked the report service to emit a timing-error report.

At the final endpoint the remaining budget governed how long the relay waited for an ok, and a timeout there was likewise a timing error. The contrast is exact: one threshold produced a report and kept forwarding, the other could stop forwarding altogether. Collapse both into a single red status and you erase the policy difference the protocol took trouble to encode.

Even the hard deadline made a bounded claim. It proved that this timed forwarding attempt exceeded its budget at a stated processing point. It did not prove why — a slow or unreachable next relay, local processing, an unattached endpoint, congestion, or something else entirely could have eaten the interval. Nor did a timely ok prove any human or business outcome beyond the application-layer processing acknowledged at that moment.

The receipt travelled under its own deadline

When data was successfully transmitted to the recipient and returnTrip was non-zero, the relay invoked the report service for a final-hop report. That report was not an omniscient flag written straight into the sender’s database; it was another APEX data operation, with its own dataTiming.noLaterThan set to the original returnTrip value.

So a second delivery problem sits nested inside the first. The payload may reach the recipient, the final report may be generated, and the report may still fail to come home inside its own budget — after which the sender may reasonably presume the report lost. Absence of a receipt is not retroactive proof that the payload failed; presence of a receipt proves the final-hop protocol event, not every consequence that followed.

A durable ledger therefore needs separate fields for original relay acceptance, remaining soft threshold, transient-report generation, forwarding after the report, remaining hard deadline, forwarding stop or endpoint acknowledgement, final-report generation, return budget, report receipt, and observed application result. One status column cannot hold that sequence without lying by compression.

Queues and hops added adjacent limits

The hold4Endpoint option let a relay queue data while the recipient endpoint was unattached. With no delivery ceiling, that queue could last indefinitely, and RFC 3342 warned the mechanism could aid denial of service, suggesting administrative limits including a short-lived noLaterThan. A queue was never a promise of eventual delivery; it was stored exposure under another control.

The separate dataHopping option reintroduced a TTL-like hop count to catch relay loops, decrementing noMoreThan before the next relay and stopping forwarding when it expired. That counter bounded topology traversal, not elapsed time. A message could sit inside its hop allowance while burning its time budget, or spend hops fast while staying punctual. Treating the two limits as interchangeable merges two kinds of evidence again.

attachOverride added one more adjacent state change, letting a new attachment terminate the previous application for the same endpoint. RFC 3340 already supplies the ownership warning that matters: data expected by the former application could arrive at the later one. That lifecycle deserves its own treatment; here it earns a mention only to show why a timing report cannot certify the continuing application’s right to act.

Historic status did not turn thresholds into outcomes

RFC 3342 was published in July 2002 on the Standards Track. The RFC Editor now marks it Historic and lists no matching errata. The IETF history entry dated 29 July 2012 records that, to the best of the IETF’s knowledge, no implementations of RFCs 3340 through 3343 had been deployed, and that APEX functionality was being delivered by widely deployed XMPP under RFCs 6120 and 6121.

That record is narrow and qualified. It does not say the timing design caused the absence of deployment; it offers no production measurement, incident, or implementation verdict. What survives is conceptual: observation, intervention, and proof of intervention should never share a label merely because they share a timer.

RFC 3342 also warned that timing reports could expose private network topology, so administrators might enable them only at administrative-domain ingress and egress. More observability was not automatically more authority: the report could sharpen diagnosis while disclosing structure, and its scope stayed a deployment choice.

The modern lesson is not that every delayed task needs three APEX fields. It is that a system must say which timer only observes, which timer changes behaviour, and which timer governs the evidence coming back from that change. When an alert fires, ask whether work stopped. When work stops, ask what the stop proves. When a receipt arrives, ask which boundary issued it. That is how a warning stays useful without turning into a fictional outcome — and how a protocol that never shipped still has something to say to every dashboard that did.

Sources