[Webkit-unassigned] [Bug 61287] [UNIX] Don't use SOCK_DGRAM in socketpair()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 23 10:12:03 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=61287





--- Comment #3 from Carlos Garcia Campos <cgarcia at igalia.com>  2011-05-23 10:12:04 PST ---
(In reply to comment #1)
> Performance should be taken into consideration as well.

Sure.

> I'm not an expert of the topic but I can imagine
> that datagram sockets are faster because they are not
> reliable - which is not a problem for us because our IPC
> is happening locally. If this is the case I believe we should try
> to work around the problem if it is possible.
> Please clue me up if I'm wrong about performance.

I'm not an expert either, but yes, I guess DGRAM sockets should be faster. The only problem we have with DGRAM sockets is being notified when the other end closes the connection, which is not a frequent operation, so maybe we can continue using DGRAM sockets and add a new message only for unix ports to notify when the connection is closed.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list