object references/memory access

Paul Rubin http
Sun Jul 1 19:01:13 CEST 2007


"Martin v. Löwis" <martin at v.loewis.de> writes:
> > If this is a Linux server, it might be possible to use the SCM_RIGHTS
> > message to pass the socket between processes.
> 
> I very much doubt that the OP's problem is what he thinks it is,
> i.e. that copying over a local TCP connection is what makes his
> application slow.

Right, the copying should be very fast, but serializing and
deserializing the stuff being copied can be slow.  This is an issue
with something I'm currently working on, for example.

> [Apache] Instead, it is the operating system itself which
> distributes the requests: the parent process opens the server socket, ...

Ah, thanks.



More information about the Python-list mailing list