Road to FastCGI

We’ve been playing today with different ways to speed up our web server, and an important thing to learn was the price of CGI processing scheme. Well, I knew that in theory, but real measurement matters a lot. We are using Apache 2.2 with mod_neko (custom module to integrate with Neko virtual machine), and mod_neko has a way to keep state across request (effectively run in FastCGI mode as you don’t need to re-initialize VM and do all this hassle for every HTTP request coming). When we enabled that, we got 5 times faster processing! This looks amazing for me. Real stress testing is still pending, but I love the results so far!

Why ‘road to FastCGI’, you might ask? Well, I was thinking to implement FastCGI support for Neko myself – and looks like I don’t need it after all…

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s


Follow

Get every new post delivered to your Inbox.