Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Apache Mod Mono (mod_mono) performance?

Tags:

.net

apache

mono

What is the performance like when using Apache mod_mono compared to IIS 6 or 7? Does the mod-mono-server that receives the requests from mod_mono have the ability to thread incoming requests or does it act more like a CGI program?

I also see that the mono project comes with a web server bundled with it. Is this web server considered a development environment or something that can be used for production?

like image 600
Tim Michalski Avatar asked Feb 19 '10 16:02

Tim Michalski


2 Answers

For the best performance I'm doing away with apache+mod_mono and using mono FastCGI with nginx with nginx handling all the static files. Here's a live preview of my open source web services framework running mono fastcgi on nginx and CentOS.

like image 146
mythz Avatar answered Oct 22 '22 08:10

mythz


Simple benchmarks on my computer put a hello world MVC framework application on mod_mono around 3000 to 4000 requests per second. Pretty much par with Java.

Unfortunately this doesn't matter. Check out this presentation of somebody benchmarking a more realistic application on IIS and SQL Server: http://www.slideshare.net/rudib/aspnet-mvc-performance

Without optimizing anything he got 8 requests per second. My current Catalyst project (in Perl) gets about 45.

After they optimized a few things there were able to get to 400 req/s. I think mod_mono will be able to handle that no problem.

like image 1
wm_eddie Avatar answered Oct 22 '22 10:10

wm_eddie