[plug] POP goes the threading

Christian christian at amnet.net.au
Fri May 19 14:10:42 WST 2000


On Thu, May 18, 2000 at 06:44:07PM +0800, Leon Brooks wrote:
> Christian wrote:
> > A guy I know wrote
> > a full POP3 server that did all it's IO from a single process using
> > select() -- no forking at all.  Apparently it was hell fast compared
> > with normal forking POP3 servers.
> 
> Maybe on Solaris or NT, unlikely on Linux - unless he also left most of
> the brains out of his POP server. (-:

It was entirely written and implemented on Linux actually.  He also
wrote a version of the code which did the normal fork()'ing and compared
the two for speed with the select()-based version being *significantly*
faster.  As has already been stated, POP3 servers in particular
demonstrate the speed of this approach since each client transaction is
generally very short.

Regards,

Christian.



More information about the plug mailing list