User: Password:
Subscribe / Log in / New account

What about other reliable transports?

What about other reliable transports?

Posted Aug 16, 2012 23:56 UTC (Thu) by ras (subscriber, #33059)
Parent article: TCP friends

It's not just the kernel that can bypass most of TCP's overhead, I presume it's any reliable transport. Like tunneling TCP over ssh, for instance. TCP tunneled over TCP usually doesn't work so well, but with this in place it should work just as well as TCP over a datagram service.

(Log in to post comments)

What about other reliable transports?

Posted Aug 18, 2012 22:41 UTC (Sat) by giraffedata (subscriber, #1954) [Link]

I don't think it's reliable transport per se that makes simplified communication possible, but direct transport. The TCP complexity is because the packets travel through a complex network. They get switched around here and there and compete with streams between other independent nodes for resources.

So I think friend sockets would be appropriate for any two sockets connnected via a dedicated link. As well as an in-kernel link or an SSH-based TCP link, that could be a PPP link or an ethernet with only two nodes on it.

In all those cases, a socket friendship protocol like this would be useful.

In fact, even without the ability to use existing TCP/IP applications, it would be nice to have stream sockets that exploit such direct connection, but I've never seen them.

Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds