Remix.run Logo
▲ joshuanapoli 2 hours ago

I was wondering what SCTP is for:

> SCTP was originally designed to transport Public Switched Telephone Network (PSTN) signaling messages over IP networks. It is also suited to be used for other applications, for example, WebRTC.

https://www.rfc-editor.org/info/rfc9260/

It looks meant for applications that don’t need TCP’s strict in-order delivery and want to avoid its head-of-line blocking.

▲tptacek an hour ago | parent | next [-]

The problem it has now is that QUIC also eliminates head-of-line blocking problems, and has become "normal" and deployable in ways SCTP won't be.

▲kevin_nisbet 2 hours ago | parent | prev [-]

There is a bit more to it than that. There are a few properties that had telecoms drive SCTP standards and adoption. The head of line blocking you mentioned iirc is optional. So the application can control in order delivery. Another one is binding to more than one network. Many telecoms for essential equipment have two networks and the hosts can fail on one and retry on another. TCP has mTCP but still with blocking and doesn’t have wide availability to be exposed to applications.