Optimizing sockets to 1000 requests/sec? (Was: Sockets and messaging services)
Duncan Grisby
dgrisby at uk.research.att.com
Thu Nov 15 09:14:05 EST 2001
In article <7xbsi4cg6m.fsf at ruckus.brouhaha.com>,
Paul Rubin <phr-n2001d at nightsong.com> wrote:
>If it's on the local machine, why mess with TCP at all, instead of using
>AF_UNIX? I'm not sure whether the OP intended to run locally tough.
Indeed, using Unix sockets makes it 20% to 25% faster than the TCP
loopback. Somewhere along the line I got the impression we were
talking about TCP, though.
Cheers,
Duncan.
--
-- Duncan Grisby \ Research Engineer --
-- AT&T Laboratories Cambridge --
-- http://www.uk.research.att.com/~dpg1 --
More information about the Python-list
mailing list