librelist archives

« back to archive

pyres horde

pyres horde

From:
Scott Moynes
Date:
2010-08-24 @ 00:46
Hello,

I am planning to use pyres and have found that using the fork-based 
pyres_worker introduces some high overhead.

My workers make need to make connections to a few external resources and, 
due to the fork, it must create and tear down these connections for each 
job. I've taken a look at the horde-based workers and it seems to have 
helped somewhat, but I think the connections to the external resources are
still slowing down the workers.

I am curious, is there anyway to setup these connections for each minion 
and pass them into the workers?

Thanks in advance,
scott.