PHP-FPM Performance

Marcos Neves marcos.neves at gmail.com
Mon Dec 29 19:00:23 MSK 2008


I´m not sure, cause php-fpm already keep PHP on the memory, doesn´t it?
So I think php-fpm is more optimized, cause there´s no need to parse
http again. (I think).

Marcos Neves
+55 44 3263-8132
+55 44 9918-8488



2008/12/29 Mathew Davies <thepixeldeveloper at googlemail.com>:
> I forgot to add.
>
> Would it be more beneficial to have NGinx pass off the PHP requests to
> Apache as it runs PHP as a module?
>
> On Mon, Dec 29, 2008 at 3:47 PM, Mathew Davies
> <thepixeldeveloper at googlemail.com> wrote:
>> Thanks for the comments.
>>
>> Marcos. I am planning to use a VPS at Slicehost, but I have created a
>> virtual machine with the same specification at home to replicate it.
>>
>> Reinis. That had little effect on the end result.
>>
>> On Tue, Dec 23, 2008 at 12:07 AM, Marcos Neves <marcos.neves at gmail.com> wrote:
>>> I totally agree. What you are really trying to banchmark is the time
>>> to php respond to nginx and nginx respond to the client.
>>> Just it.
>>>
>>> Marcos Neves
>>> +55 44 3263-8132
>>> +55 44 9918-8488
>>>
>>>
>>>
>>> 2008/12/22 Reinis Rozitis <r at roze.lv>:
>>>> Just a note - dont test with <? phpinfo(); ?> do something like <? echo
>>>> 'Hello world!'; ?> and test then..
>>>> Because phpinfo() is pretty bloated and intensive (in the past also even
>>>> with memory leaks).
>>>>
>>>>
>>>> rr
>>>>
>>>> ----- Original Message ----- From: "Mathew Davies"
>>>> <thepixeldeveloper at googlemail.com>
>>>> To: <nginx at sysoev.ru>
>>>> Sent: Saturday, December 20, 2008 8:37 PM
>>>> Subject: PHP-FPM Performance
>>>>
>>>>
>>>>> Hi,
>>>>>
>>>>> I'm currently using nginx/0.7.27 + PHP 5.2.8 with the fpm patch on
>>>>> Ubuntu Server 8.10 with 256 MB RAM. Nginx is serving static files very
>>>>> fast at 1,500 req/s while serving a phpinfo(); page will drop right
>>>>> down to 300 req/s. This performance is nothing to be sniffed at with
>>>>> the current specifications of the machine, but I'm wandering if there
>>>>> is any room to squeeze more performance from the php side of things.
>>>>>
>>>>> Kind Regards,
>>>>> -Mathew Davies.
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>
>





More information about the nginx mailing list