On Thu, May 17, 2001 at 08:29:37AM +0000, Greg Cope wrote:
> > I used IO::select to handle running multiple qmail-remotes at the same
> > time. qmail-remote has a really small footprint so you can run 1000s
> > of them concurrently on a modest sized server. It takes a fair amount
> > of code to manage multiplexed pipes in conjunction with handling
> > stdout and stderr (execution errors) responses and exit conditions.
> >
> > (I see that there is an IO::Poll in which case I'd probably use that
> > in preference to IO::Select because of some of the select limit issues
> > on some OSes).
>
> Can you shed any more light on this. I am very interested as I may
> write something similar soon, and any ideas / help would be much
> appreciated.
Well, that's more a perl/Unix issue than a qmail one so this isn't the
right place to discussed it. If you're asking about the benefits of
poll vs select, there is plenty of material on the net about
this. (Now if kqueue gets into enough Unixen and someone write a perl
interface for it, well, that'd be something to talk about :> )
Regards.