0

Right now i am using nginx with mono/xsp through fastcgi. I haven't seen any clear answers but can xsp/fastcgi handle multiple request? I have one instance running all my sites. Would i get better performance if i have an instance per site? (this probably would only happen if one instance can handle only one request at a time).

2 Answers 2

0

The short answer is yes - it supports concurrency. I've got an application (http://www.flithub.com) running on Ubuntu 11.10 with NGINX. There's just one FastCGI process running an ASP.NET MVC 2 application.

I put a blog post about how I checked this: http://www.newredo.com/2012/01/14/nginx-and-mono-concurrency

Hope that helps.

2
  • That is EXACTLY WHAT I DID. Except i first notice by trying two browsers (firefox, chrome). Then i notice if its the same page but different urls (?a=1 vs ?a=2) the page wouldnt block as well. I was also freaked out when i saw the two page (same url) blocking
    – user274
    Jan 14, 2012 at 21:33
  • The blog post does not exist anymore.
    – radekg
    Jun 8, 2017 at 15:29
1

You can achieve what you need, I've did, using fastcgi-mono-server2 or fastcgi-mono-server4 on nginx (my choice) or lighttpd. mod_mono on apache is also a valid solution.

3
  • Your answer is not clear but someone suggested something to me and i found my answer. I don't need multiple instance and page request are multithreaded. However i was confused and found that when the same ip address (or machine?) request the same url it is blocking.
    – user274
    Nov 15, 2011 at 17:30
  • Using xsp on windows or on linux? Nov 16, 2011 at 23:02
  • i did it on (debian squeeze) linux
    – user274
    Nov 16, 2011 at 23:29

You must log in to answer this question.