View previous topic :: View next topic |
Author |
Message |
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Mon Aug 13, 2007 6:52 pm Post subject: Which FastCGI is the Fastest? |
|
|
There are so many FastCGI options now, and I was wondering which one performs the best? Would ApacheBench help me perform these type of tests? I like to optimize the speed of my websites the best way that I can, without losing alot of memory. Can anyone tell me which one they recommend for speed improvement?
Here's Abyss Web Server's FastCGI options:
FastCGI (Local - Pipes)
FastCGI (Local - TCP/IP sockets)
FastCGI (Remote - Pipes)
FastCGI (Remote - TCP/IP sockets)
Edit: After running an extensive number of tests on ApacheBench, I can conclude that (Local - Pipes) is the fastest. If you do the tests, you will notice that (Local - Pipes) gains an extra request per second, compared to (Local - TCP/IP sockets). I recommend using (Local - Pipes) if you want performance. ;-)
Kind regards, Josh |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Thu Aug 16, 2007 4:15 pm Post subject: Re: Which FastCGI is the Fastest? |
|
|
TRUSTAbyss,
Thank you for publishing the results of your tests. Local pipes have a little advantage over local TCP/IP sockets but it is relatively marginal on Windows. On other platforms, the advantage may be a little more significant (but not more than a few %). _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
brass9 -
Joined: 01 May 2008 Posts: 1
|
Posted: Thu May 01, 2008 11:50 am Post subject: Re: Which FastCGI is the Fastest? |
|
|
TRUSTAbyss wrote: | There are so many FastCGI options now, and I was wondering which one performs the best? Would ApacheBench help me perform these type of tests? I like to optimize the speed of my websites the best way that I can, without losing alot of memory. Can anyone tell me which one they recommend for speed improvement?
Here's Abyss Web Server's FastCGI options:
FastCGI (Local - Pipes)
FastCGI (Local - TCP/IP sockets)
FastCGI (Remote - Pipes)
FastCGI (Remote - TCP/IP sockets)
Edit: After running an extensive number of tests on ApacheBench, I can conclude that (Local - Pipes) is the fastest. If you do the tests, you will notice that (Local - Pipes) gains an extra request per second, compared to (Local - TCP/IP sockets). I recommend using (Local - Pipes) if you want performance. ;-)
Kind regards, Josh |
Named pipes are faster if your HTTPd and the fastCGIs are hosted locally (on the same machine). If you're remote hosting your CGI binaries, then TCP/IP will be faster since remote named pipes have more security overheads. |
|
Back to top |
|
|
|