gigi81 / sharpfastcgi

C# fastcgi protocol implementation plus shome usage examples. A good example on how to self-host your web application without the need of iis or mono.
MIT License
32 stars 15 forks source link

Unix socket support #5

Open Iristyle opened 11 years ago

Iristyle commented 11 years ago

The original Mono fastcgi-mono-server4 supports Unix socket files, which many have found to perform better than TCP

Just one example I've come across. http://blogs.7digital.com/dev/2012/09/25/atomic-mono-deployment-with-capistrano-and-nginx-under-debian/ There are several others on StackOverflow if you look around.

You can see Monos implementation of Unix sockets here: https://github.com/mono/xsp/blob/master/src/Mono.WebServer.FastCgi/UnixSocket.cs

I'm curious about your fastcgi implementation. Have you done any benchmarks on it to test its performance vs the Mono implementation?

Thanks!