Reimagining Onion Messages as an Overlay Layer

So what you’re saying is that in practice your proposal wouldn’t change the network topology at all? What’s the point, then?

The spec doesn’t say that it has to be on the same connection, which implies that nodes are free to do whatever they want. Nodes today may restrict peers to a single connection with the same pubkey, but that doesn’t mean its banned? Also, there’s no need for a separate port for this? You can just open a second connection on the same port.

Yes, TCP is all about applying backpressure from an application through to the sender to ensure the sender can do these things without making the recipient unable to respond. You don’t need receiver-size queue management if the sender is handling TCP correctly :).

Sure, but if you don’t send too much the head-of-line blocking isn’t going to slow down channel operations. Head-of-line blocking isn’t some death curse, for a long-lived connection where we’re processing messages fairly quickly (basically all lightning messages are super quick to process) its not gonna materially impact latency. The web has major head-of-line blocking issues because they can’t open parallel connections (due to slowstart, which isn’t an issue for us) nor signal (in practice) which resources are needed urgently and which won’t impact pageload.