ASP.NET/mono performance on Linux

apache-2.2asp.netmono

Anybody knows how asp.net/mono performance is on Linux ?

I mean, which server gives you the best performance/delivery time (Apache/Apache2, xsp2, lighthttp, nginx, other) ?

Since all asp.net goes via xsp2, I'd say xsp2 would certainly be fastest, but it's probably missing a lot of features, which lighthttp offers (e.g. mod_dosevasive, URL-rewriting, etc.).

Best Answer

The best combination I have found, currently using in production, is fastcgi-mono-server2 or fastcgi-mono-server4 using nginx. A good alternative, that also is known to perform better than apache is, lighttpd.

I use Ubuntu Server 11.10 for my web servers due to very good package support (and updated) packages for the required components needed for the job.

You can found working configuration files examples for Demis Bellot here. He uses Centos.