>>>>> "SB" == Stas Bekman <[EMAIL PROTECTED]> writes: SB> Where does this bring us? When a new request is coming in and all SB> interpreters are busy and the pool quota is not full, a new SB> interepreter will be cloned. And your request will be served in SB> 6-10 secs instead of 50msecs. Now imagine a busy webserver with no Anyhow, why would it take so long to clone a thread? Is perl chasing down every single memory pointer or something?
Yes. And every shared variable lives inside each thread as a tied variable with its CPU and memory overhead. And inside a hidden thread.
It kind of makes you rethink the whole 'threads are better than processes' debate if your threads are more heavy-weight than processes ;-)
Hence forks.pm ;-)
Liz
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
