Re: ZTS - why are you using it?
| From: | Alexey Zakhlestin | Date: | Tue, 29 Jan 2013 09:25:54 +0000 |
| Subject: | Re: ZTS - why are you using it? | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-65334@lists.php.net to get a copy of this message | ||
On Tue, Jan 29, 2013 at 1:03 PM, Zeev Suraski <zeev@zend.com> wrote:
> Which brings me to the subject of this mail – why are you using ZTS PHP
> instead of single threaded PHP? The reasons not to use it are few but
> fairly major – it’s significantly slower than the non-ZTS PHP, and it’s
> significantly less robust in the sense that a single bug somewhere can
> bring down an entire server (or at least a bunch of many different
> threads). What are your reasons to choose it over FastCGI?
I use it for long-running processes, when I need something like
http://pecl.php.net/package/pthreads
But, those are scenarios, when I don't need bytecode cache, because
everything is preloaded in "real" memory
--
Alexey Zakhlestin,
http://github.com/indeyets