by paxys · 3y ago · 0 comments
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.
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.
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?
Because datacenter is not single LAN segment ? You need to route it
I'd suspect that the tcp bits are hidden in the rpc layer anyway, be it grpc or whatever
Additional M.O. protocol cool, but replace TCP with it?
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.
Until you remember that you have datacenters that need to talk to each other and then this strategy doesn't work.
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.
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.
Most applications don't care about TCP any more than they care about IP.