A customer hits Buy. The page hangs, times out, and dies. Behind it, a transaction manager has already told its peers to commit — correctly, durably, and with no idea whether a human ever saw a confirmation.

That gap is not a flaw in the plumbing. It is the plumbing's job description, and in July 1998 the IETF wrote it down with unusual honesty in RFC 2371, the Transaction Internet Protocol, or TIP. TIP standardised one thing and standardised it well: a small two-phase commit conversation between transaction managers. It did not carry the order, define the business operation, authorise the purchase, or deliver the receipt. The commit line was never the business receipt.

What RFC 2371 actually standardised

Published as a Standards Track specification in July 1998, TIP described a simple two-phase commit exchange among transaction managers. The subject matter of a transaction — the order, the booking, the transfer, whatever the application was actually doing — travelled through a different protocol entirely. The document called this the "two-pipe" model.

The split was practical engineering, not modesty for its own sake. TIP did not need to standardise every application's message format or business vocabulary. Existing systems could carry their own requests while transaction managers spoke a small common language about whether the participating work should commit or abort. The authors never pitched TIP as a universal replacement for the commit protocols already in the field.

Two pipes, and the illusion they sell

Here is where the trouble starts, and where it has started ever since. A transaction manager could truthfully report COMMITTED without knowing whether the customer saw a confirmation page, whether an intended application request was never sent at all, or whether the application had mistaken its own unit of work. Coordination could be flawless inside its pipe while the business account sat incomplete in the other one.

Two correct systems, one wrong story. That is the whole hazard in a sentence.

The application drew the border — and borders leak

The RFC's shopping example joined a local transaction manager to remote managers so that several orders could be committed together. The protocol supplied atomic agreement among the enlisted managers. The application decided what counted as the transaction, and when it was ready to commit.

That decision contained the most dangerous invisible state in the whole design. An application might still have a request in flight. A remote service might have done work before registering with its local transaction manager. A participant the business design expected might simply never have enlisted. RFC 2372, the companion implementation guide, therefore warned that TIP could not necessarily enforce application-message serialisation in a two-pipe system: the application must not ask for commit while requests were outstanding, and it should not report success before the relevant transaction manager had registered.

The distinction is not pedantry. Atomicity covers the participants inside the declared transaction. It does not discover an omitted participant, and it does not repair a boundary drawn in the wrong place.

PUSH, PULL, and a URL that was never a receipt

TIP propagated transaction context two ways. In PUSH, a superior transaction manager contacted a subordinate and told it to associate work with the transaction. In PULL, a subordinate received a TIP URL through an application protocol and used that reference to enlist with the remote manager.

The URL joined an address to a transaction reference. It was meant to be globally unique for all time, although the method for achieving that uniqueness stayed implementation-specific. The RFC floated UUIDs as one possible family of techniques; the later RFC 4122 should not be read backwards as a mandatory TIP format.

Crucially, TIP itself never "opened" the TIP URL. An application carried the reference across its own pipe. The URL was a rendezvous coordinate. Holding it proved nothing about whether PULL succeeded, whether the application request was authorised, or whether any resource had committed.

A state machine that made small, honest claims

The protocol ran normally over TCP, could negotiate TLS, and could multiplex several transactions over a single connection. Its states included Initial, Idle, Begun, Enlisted, Prepared, Multiplexing, TLS and Error. Each state described what the two transaction managers could validly say next. None of them described the business process.

PREPARED carried more weight than its calm name suggests. It meant the subordinate had promised it could later honour the superior's outcome, and had retained the recovery information needed to keep that promise. A failed prepare did not silently mean abort. Once prepared, the transaction occupied durable operational space until an outcome was recovered.

COMMIT, meanwhile, meant less than its familiar label invites you to assume. It was the coordinator's outcome instruction within the enlisted transaction. A subordinate's COMMITTED response reported its own protocol result. Between those two records and a customer-visible receipt lay local resource work, connection failure, response delivery and application presentation — four separate opportunities to lose the plot.

The reply that never came

RFC 2372 made the ambiguity explicit: a client invoking commit might fail to receive the final result even though the transaction completed successfully. The application needed some other way to establish the outcome, perhaps an implementation-specific log. Silence was not equivalent to abort. A dropped response was not evidence that nothing happened.

TIP's recovery design addressed the transaction-manager layer. Persistent records, RECONNECT and QUERY let managers re-establish a prepared relationship and learn an outcome after failure. That was running code preserving a decision — not a general reconstruction of the user's business journey. Recovery could show that a participant committed while leaving the application to reconcile whether a confirmation was ever delivered, and what state the customer should now be shown.

Security stopped at the seam

The RFC allowed TLS but left its use to local policy. It warned that protecting application communication while leaving the commit protocol exposed could undermine the application's security. The reverse held too: a well-protected TIP session did not authenticate or authorise the underlying purchase.

The two propagation models created different pressure points. A hostile PULL could induce an abort. PUSH could consume resources by leaving transactions prepared. Forged reconnection or outcome traffic could corrupt the result if the coordination channel lacked appropriate protection. These risks belonged to protocol authority and resource control. They did not turn TIP into the application's identity system.

The evidence chain RFC 2371 actually gave us

A defensible account of any distributed purchase separates at least nine records:

  1. the application issued a business request;
  2. transaction context accompanied the right work;
  3. every intended participant enlisted;
  4. each participant completed its application work;
  5. durable prepare records existed;
  6. the coordinator selected an outcome;
  7. local resources applied that outcome;
  8. protocol acknowledgements returned;
  9. the caller received a truthful business acknowledgement and later observed the expected state.

TIP strengthened the middle of that chain, and strengthened it genuinely. It never claimed to collapse the chain into one line — and the industry has been quietly collapsing it ever since, usually on a dashboard with a green tick on it.

Why the restraint was the achievement

Read through Lu Heng's principle of minimum initial specification, TIP's restraint looks less like a limitation and more like a design asset. It standardised just enough for heterogeneous transaction managers to coordinate, while leaving application payloads, data representation, business identity and authorisation outside the protocol. That boundary is what made interoperation cheap.

Running-code primacy adds the operational test: a transaction is not made real by its name, its URL or its architecture diagram. It becomes observable through registration, durable prepare state, outcome exchange, local resource action and recovery. Reality layers add the reporting discipline: a COMMIT token, a COMMITTED response, a client receipt and a later account balance are related facts, but they are not interchangeable ones.

So the historical lesson outlives every product that ever implemented TIP. A protocol can make agreement reliable only inside the boundary it actually controls. Everything past that boundary is somebody else's receipt to write — and the customer, still staring at a blank page, is the one who finds out whether anybody wrote it.