[plug] POP goes the threading

Tom Hallam thallam at ee.uwa.edu.au
Fri May 19 09:57:45 WST 2000


The performance will depend upon the length of the transaction.  For a
small email file the pop transactions are quit short.  With a short
transaction the overhead of doing a fork is likely to be a significant
part of the total transaction time.  

You'd really have to test this with multiple users and large mail
boxes to get a good idea of how it would work in real life.  The whole
idea of threading/forking a daemon is that the system does not block
for all users whilst one large user hogs it.

Tom

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. (-:
> 
> --
> If at first you don't succeed, try a shorter bungee.

-- 
*****************************************************************
Tom Hallam                                     ph: (08) 9380 1634
Information Systems Manager.                  fax: (08) 9380 1065
Dept. Electrical and Electronic Engineering. mobile: 0410 453 630
University of Western Australia                           rm: G72
http://www.ee.uwa.edu.au/~thallam    mailto:thallam at ee.uwa.edu.au
*****************************************************************



More information about the plug mailing list