14 ms·
Unless the alternative is a 100% backwards compatible drop-in replacement for TCP, even starting to discuss it is pointless. And if it is compatible at that lev
by paxys 4y ago
Unless the alternative is a 100% backwards compatible drop-in replacement for TCP, even starting to discuss it is pointless. And if it is compatible at that level, it will just bring with it all the pitfalls that we want to replace in the first place.
The TCP/IP stack works because I don't need to care about what environment the two processes that need to communicate are running in. They could both be on my local machine, or in my home network, or communicating over the internet, or some random intranet, in a data center, across continents, on any OS or any kind of device...it simply does not matter. "Just do a ground-up rewrite of your entire software stack and you'll get a guaranteed 5% efficiency gain" isn't the bullet proof argument that people who come up with these alternatives seem to think.
- foota 4y agoThis is only really true of external connections, for orgs with large degrees of control over their internal stack this can make sense.
- readingnews 4y agoCorrect. I agree. Well said.
- mike_d 4y agoSuggested alternative title: "Is it time to replace oxygen in the atmosphere?"
- ithkuil 4y agoI wonder if we need to replace TCP in the data centers or if what data centers really need is RPC (which ia covered well with QUIC)
- StillBored 4y agoRight, I've been saying this for a while, it seems that many of the hyperscalers/etc made the mistake of trying to utilize TCP (and maybe HTTP/etc) for their (generic) RPC mechanisms. Which is hardly the best plan, when what is actually needed is just a reliable datagram protocol without a bunch of connection state. So, while the actual RPC protocol has its own issues, the one thing they got right was the ability for the portmapper to indicate UDP vs TCP as the transport on a service basis. There have been a few improved generic RPC mechanisms, and I don't really understand why some of these places feel the need to "replace TCP" when really what they need is a more formalized RPC mechanism that can set/detect the datagram reliability and pick varying levels of protocol retry/etc as needed.
- nick0garvey 4y agoI don't agree. A subset of high performance applications in a datacenter can use a new protocol while still supporting TCP for other applications. I'm not saying this is easy, or even worth it, but it isn't all or nothing.
- bjackman 4y agoI think the parent commenter would be pretty surprised how much code would really need a rewrite. Google and Amazon do not have hundreds of thousands of engineers messing around in the mud with sockets and connections and IP addresses and DNS. There's a service mesh and a standardised RPC framework. You say "get me the X service" and you make RPCs to it. Whether they're transported over HTTP, UDP, unix domain sockets, or local function calls is fully abstracted.
- hinkley 4y agoIf you need to go that fast why not implement a layer 2 protocol? The point of these abstractions is that they are insurance. We pay taxes on best case scenarios all the time in order to avoid or clamp worst case scenarios. When industries start chasing that last 5% by gambling on removing resiliency, that usually ends poorly for the rest of us. See also train lines in the US.
- ilyt 4y ago> If you need to go that fast why not implement a layer 2 protocol? Because datacenter is not single LAN segment ? You need to route it
- Karrot_Kream 4y ago> If you need to go that fast why not implement a layer 2 protocol? How? Datacenters aren't a single link, you need to route packets. > The point of these abstractions is that they are insurance. We pay taxes on best case scenarios all the time in order to avoid or clamp worst case scenarios. When industries start chasing that last 5% by gambling on removing resiliency, that usually ends poorly for the rest of us. I'm not sure what this means. There are other transport level protocols already, UDP is in fairly regular use. Is your argument that TCP offers us some insurance that Homa will not?
- kevin_thibedeau 4y agoIPPROTO_SCTP does this today. Just have to convince middleware/box vendors to support internet protocol.
- jeroenhd 4y agoYou'll also need to convince several operating system maintainers to build/optimise their implementation first. I wouldn't have any trouble ignoring middlebox software (or adding a TCP fallback with a big warning that something suspicious is interfering with the connection) but Windows and macOS still lack proper SCTP support, Linux' SCTP support has some performance issues and usermode raw sockets will probably need to bypass several OS sandboxes to be viable. That said, in server to server connections SCTP can probably be used just fine.
- CountSessine 4y ago…and Microsoft and Apple if your endpoints include Windows, IOS or MacOS. All of those have 3rd party drivers but I don’t think any of them come with SCTP support out of the box.
- noselasd 4y agoIt's a no-go if they did anyway at the moment, the number of endpoints that's behind a NAT box that only knows about UDP and TCP is huge.
- jeroenhd 4y agoWith the rise of IPv6 that may soon no longer be a problem. Plus, server to server communications usually aren't behind NAT boxes.
- bcrl 4y agoIPv6 is such a pain in the ass to deploy that people developed IPv6 NAT. For more than a decade the protocols to delegate an IPv6 subnet to a customer at the edge were missing. With PPPoE the situation was basically that you'd get a dynamic /64 on the PPPoE link (what a waste) and then have to manually configure the local IPv6 subnet on the CPE. IPv6's failure was largely self inflicted by failing to make it easy for ISPs to implement.
- zokier 4y agoIs quic 100% backwards compatible drop-in replacement for tcp? No. Is it pointless to discuss. Also no. And DC applications are far more easy to switch over than general internet, less middleboxes to screw you over, generally better performing networks, and more tightly controlled hosts. Honestly, it wouldn't be all that farfetched to have AWS implement QUIC over SRD for squeezing the last perf drops out.
- guenthert 4y agoMany applications don't use TCP/IP directly, but RPC (or as others have pointed out, protobufs). Then someone needs just to adapt the RPC layer to support the new network protocol. Most applications don't care about TCP any more than they care about IP.