Results 1 to 8 of 8
Hybrid View
-
06-23-2009, 09:06 PM #1Junior Guru Wannabe
- Join Date
- Jun 2009
- Posts
- 30
Apache vs Nginx (mod_php VS php-fpm)
Here is the comparison between Apache and Nginx. Request processing overhead and real-world application performance measurements included.
http://blog.a2o.si/2009/06/24/apache...nginx-php-fpm/
b.
-
06-23-2009, 09:26 PM #2Newbie
- Join Date
- Jun 2009
- Posts
- 20
like the nginx
this best web servers
-
06-23-2009, 11:00 PM #3******* Unleaded
- Join Date
- Feb 2004
- Posts
- 3,849
Please try the test over again with the client running on a separate machine. Try not to use ab as it is known to suck resources like a sponge. The apache developers themselves no longer use it for benchmarking because of that reason. An alternative is siege.
Furthermore, in addition to the workload, disclosure of the network and server hardware is a must before any benchmark can be taken seriously.edgedirector.com
managed dns global failover and load balance (gslb)
exactstate.com
uptime report for webhostingtalk.com
-
06-24-2009, 03:16 PM #4Junior Guru Wannabe
- Join Date
- Jun 2009
- Posts
- 30
Thanks for the siege tip, will verify the test results!
About testing from separate machine: I cannot do that as machine is already collocated and only has single 100Mbit connection. The link would be saturated in an instant.
Hardware disclosure: it is all there, in the second subsection, HP DL380 G5 server, or is it something specific that you are missing?
Again, thanks for the tips!
b.
-
06-25-2009, 12:59 AM #5Problem Solver
- Join Date
- Mar 2003
- Location
- California USA
- Posts
- 13,681
"I cannot do that as machine is already collocated and only has single 100Mbit connection. The link would be saturated in an instant."
No it would not using apache benchmark. Apache benchmark does not download images. I benchmark things every day, this is not something to worry about.Steven Ciaburri | Industry's Best Server Management - Rack911.com
Software Auditing - 400+ Vulnerabilities Found - Quote @ https://www.RACK911Labs.com
Fully Managed Dedicated Servers (Las Vegas, New York City, & Amsterdam) (AS62710)
FreeBSD & Linux Server Management, Security Auditing, Server Optimization, PCI Compliance
-
06-25-2009, 07:19 AM #6Junior Guru Wannabe
- Join Date
- Jun 2009
- Posts
- 30
True for small files and application benchmarks. But not for 100KB.txt and 1MB.txt benchmark (static file serving); they would saturate 1Gbps ethernet quickly. Heck, they would saturate 10Gbps ethernet.
How? Take a look at the results, let's say 1MB.txt at 32 concurrent clients. The result for nginx is around 1200 requests per second. When you multiply this with the size of a single file (1MB, we neglect the TCP and HTTP headers size), that gives us roughly 1200MB/s throughput. Mind that here we use bytes, not bits.
On the other hand, 1Gb/s ethernet uses BITS per second to describe throughput. When we divide it by 8, we get BYTES per second, which is 125MB/s.
With the capability to serve files with 1200 MB/s the ethernet link with capacity 125 MB/s (1Gbps) is definitely saturated.
b.
PS: The only possible use I see for using another machine is when benchmarking small file serving performance. There you usually note that cpu usage of benchmarking program is greater than that of a http server.
-
06-24-2009, 03:14 PM #7Web Hosting Master
- Join Date
- Jan 2002
- Posts
- 1,400
Any large site use nginx with php ?
-
06-24-2009, 03:15 PM #8Problem Solver
- Join Date
- Mar 2003
- Location
- California USA
- Posts
- 13,681
I also suggest running the test without the client on the same network.
Steven Ciaburri | Industry's Best Server Management - Rack911.com
Software Auditing - 400+ Vulnerabilities Found - Quote @ https://www.RACK911Labs.com
Fully Managed Dedicated Servers (Las Vegas, New York City, & Amsterdam) (AS62710)
FreeBSD & Linux Server Management, Security Auditing, Server Optimization, PCI Compliance
Similar Threads
-
Nginx as Apache proxy for static content -- need configuration
By Pierrepont in forum Hosting Security and TechnologyReplies: 12Last Post: 11-19-2009, 05:22 PM -
nginx works with apache, but...
By surfmanjoe in forum Hosting Security and TechnologyReplies: 1Last Post: 08-14-2008, 12:51 AM -
Cpanel + Apache + Nginx proxy
By dtredwell in forum Hosting Software and Control PanelsReplies: 4Last Post: 06-05-2007, 04:19 PM -
Apache with mod_php AND phpsuexec
By giggsey in forum Hosting Security and TechnologyReplies: 7Last Post: 12-22-2005, 03:40 AM -
mod_php: Not enough security
By flatface in forum Hosting Security and TechnologyReplies: 25Last Post: 04-29-2005, 10:05 AM