On Thu, 2005-10-06 at 15:34 -0700, Ben Tilly wrote:
> > working with Thread::Pool but there are problems.
>
> If you want performance, I would strongly suggest using a pre-fork
> model, or else use another language.  In Perl when you spawn a thread,
> Perl makes a copy of virtually all data in that thread to avoid race
> conditions.  This is a big, slow step.

I know it's expensive.  That's why I'm using Thread::Pool.  It's
effectively pre-fork but with threads, along with a nice queue mechanism
for job input and output data.


 -- Jeremy

 
_______________________________________________
Boston-pm mailing list
Boston-pm@mail.pm.org
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to