Re: ZTS - why are you using it?
| From: | Pierre Joye | Date: | Tue, 29 Jan 2013 14:21:09 +0000 |
| Subject: | Re: ZTS - why are you using it? | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-65395@lists.php.net to get a copy of this message | ||
On Tue, Jan 29, 2013 at 3:16 PM, Zeev Suraski <zeev@zend.com> wrote:
>> -----Original Message-----
>> From: Pierre Joye [mailto:pierre.php@gmail.com]
>> Sent: Tuesday, January 29, 2013 3:37 PM
>> To: Rasmus Lerdorf
>> Cc: PHP internals
>> Subject: Re: [PHP-DEV] ZTS - why are you using it?
>>
>> On Tue, Jan 29, 2013 at 2:33 PM, Rasmus Lerdorf <rasmus@lerdorf.com>
>> wrote:
>>
>> > Those ISPs are probably stuck in old fastcgi-land and haven't figured
>> > out FPM's ondemand pooling. If you idle out the ondemand children
>> > somewhat quickly you can support a lot of vhosts without using much
>> > memory since each one doesn't need to have a running process. Only
>> > hosts actually being accessed will have running processes.
>>
>> Not talking about Linux here, but IIS have something similar, but really
> not even
>> close to how FPM performs or how it works (having basically the pros of
> TS and
>> NTS).
>
> On Windows with impersonation you're actually in a better situation than
> you are in Linux. You could hold a small pool of processes and handle as
> many different users as you'd like.
Works fine with ZTS too btw, IIS takes care about managing the
respective application pools.
But yes, impersonation is a huge on Windows/IIS, get ride of
openbasedir and all that in one go (and again, not NTS specific).
Cheers,
--
Pierre
@pierrejoye