Jump to content

Recommended Posts

How did you run php? mod_php for apache I would assume, how about with nginx? How about trying both running php-fpm over fcgi and see what the results are for a better comparison?

 

1,000 hits is nothing, use the apachebenchmark tool and truly test with concurrent connections etc and see how each handle. You can also tweak, both nginx and apache, to do different performances etc. So you would need to also get those settings as close as possible to each other.

Nginx I used: c:\php\php-cgi.exe -b 127.0.0.1:9000 -c c:\php

 

Not really comparable, maybe if you got nginx to use fcgi it might be comparable. But that alone flaws your data. There is a reason they call it "fast cgi" vs just "cgi".

Also, you are using TCP for the php process, I do not think mod_php uses TCP, also what other modules for apache are configured? Something like mod_cache can skew the results as well without tuning Nginx to do similar as well as the mpm module.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.