Mark, What do you mean by "TCP over Unix Domain Sockets" ?? I think Unix Domain Sockets could be an alternative for TCP (or UDP) if you don't need inter-machine connectivity. But TCP 'over' Unix Domain Sockets ?
Julien is just saying that UDS might be faster than loopback TCP, but probably not much faster than loopback UDP. http://lists.freebsd.org/pipermail/freebsd-performance/2005-February/001143.html regards, Maarten On 9/14/07, Mark <[EMAIL PROTECTED]> wrote: > > Additionally, I want to use TCP over Unix Domain Sockets and not UDP. > > -- > ..Cheers > Mark > > On 9/14/07, Mark <[EMAIL PROTECTED]> wrote: > > > > I think you are confusing User Datagram Protocol with Unix Domain > > Sockets. UDP are the datagram packets, UDS communicates via a virtual > > socket represented by a file on POSIX compliant operating systems. > > > > -- > > ..Cheers > > Mark > > > > On 9/14/07, Julien Vermillard <[EMAIL PROTECTED]> wrote: > > > > > > On Fri, 14 Sep 2007 09:18:50 -0400 > > > Mark <[EMAIL PROTECTED]> wrote: > > > > > > > Domain > > > > Sockets are no faster than TCP over loopback I would love to see > > > > them. I would hate to spend much more time on this project only to > > > > find out that TCP would work just as well. > > > > > > > > Thanks again! > > > > > > > > -- > > > > > > Unix domain sockets are supposed to be faster due to the fact it's not > > > passing thru the operating system TCP/IP stack (ex : ACK provoquing > > > context switching) but using UDP I'm pretty sure the overhead is small > > > (perhaps the CRC?). It prolly worth a benchmark ;) > > > > > > Julien > > > > > > > >