[squid-users] fork vs. select

From: <Sadhna.Ahuja@dont-contact.us>
Date: Tue, 22 May 2001 15:09:13 -0500

Hi,
        Squid runs as a single process and uses select() for I/O on
different sockets. Why doesn't it fork() a different process to achieve
concurrency? Is that to avoid the overheads of creating a new process? What
are the advantages and disadvantages?

Thanks in advance,
Sadhna.
Received on Tue May 22 2001 - 14:09:35 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:00:14 MST