Which FastCGI is the Fastest?

 
Post new topic   Reply to topic    Aprelium Forum Index -> FastCGI/CGI
View previous topic :: View next topic  
Author Message
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Mon Aug 13, 2007 6:52 pm    Post subject: Which FastCGI is the Fastest? Reply with quote

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 View user's profile Send private message Visit poster's website
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Thu Aug 16, 2007 4:15 pm    Post subject: Re: Which FastCGI is the Fastest? Reply with quote

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 View user's profile Send private message Send e-mail
brass9
-


Joined: 01 May 2008
Posts: 1

PostPosted: Thu May 01, 2008 11:50 am    Post subject: Re: Which FastCGI is the Fastest? Reply with quote

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 View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> FastCGI/CGI All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group