[Mono-dev] FastCGI Performance

Giuliano Barberi gbarberi at aotaonline.com
Sun Apr 6 23:43:49 UTC 2014

After looking at some of the Mono web benchmarks (
I got very curious as to why FastCGI performance was so much lower than
when using a C# libevent implementation.

If you look at nancy-libevent2 vs nancy benchmarks, the only difference is
a C# wrapper around libevent ( https://github.com/kekekeks/evhttp-sharp )
vs Mono FastCGI. Since Mono uses epoll underneath which is what libevent
uses afaik, I would not expect there to be such a gap in performance.

I'm curious whether performance of FastCGI is being looked at or if this is
expected. Mono when using FastCGI benchmarks almost at the bottom of the
list when compared to many other technologies (
http://www.techempower.com/benchmarks/#section=data-r8&hw=i7&test=json ).
I've done a bit of analysis on where the bottleneck is and everything I've
found is pointing to the FastCGI implementation.

Giuliano Barberi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20140406/6ea07cf9/attachment.html>

More information about the Mono-devel-list mailing list