unix domain sockets vs. internet sockets

From: Baris Simsek (simsek_at_enderunix.org)
Date: 02/25/05

  • Next message: Peter Pentchev: "Re: unix domain sockets vs. internet sockets"
    To: freebsd-performance@freebsd.org
    Date: Fri, 25 Feb 2005 09:02:45 +0200
    
    

    Hi,

    I am coding a daemon program. I am not sure about which type of sockets i
    should use. Could you compare ip sockets and unix domain sockets? My main
    criterions are performance and protocol load. What are the differences
    between impelementations of them at kernel level?

    Baris Simsek
    http://www.enderunix.org/simsek/
    _______________________________________________
    freebsd-performance@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-performance
    To unsubscribe, send any mail to "freebsd-performance-unsubscribe@freebsd.org"


  • Next message: Peter Pentchev: "Re: unix domain sockets vs. internet sockets"

    Relevant Pages

    • Re: One dim headlight....Please Help!
      ... you might ohm out all the wires for both head lights with the bulbs out ... - from the sockets, and compare the ohmic value ...
      (rec.autos.tech)
    • Re: open(2) and unix domain sockets
      ... >>what downsides would there be to transparently supporting domain sockets ... what i'm trying to get at is if client-side support for unix domain sockets ...
      (comp.unix.programmer)
    • Re: What triggers "No Buffer Space Available"?
      ... of netstat -> sockstat is growing since I first started counting both .. ... Again, based on what you state above: "Sockets can also exist without any referencing process (if the application closes, but there is still data draining on an open socket)." ... The only cases I know of in which UNIX domain sockets can have PCBs without a process connection is if the UNIX domain socket is attached to a socket that is being passed over another socket where the original socket has released all other references to it, ...
      (freebsd-stable)
    • Re: unix domain sockets vs. internet sockets
      ... > I am coding a daemon program. ... Could you compare ip sockets and unix domain ... of both worlds - the efficiency of Unix-domain sockets for local clients ... and the ease of use of Internet-domain sockets for remote connections. ...
      (freebsd-performance)
    • Re: open(2) and unix domain sockets
      ... so there's not much reason to make sockets act so much like files. ... > user-land accessible file object serving mechanism in unix? ... > what i'm trying to get at is if client-side support for unix domain sockets ...
      (comp.unix.programmer)