[Mono-aspnet-list] mod_mono parallel requests dont’t run in parallel
michael.koenings at gmail.com
Wed Oct 14 08:30:01 EDT 2009
using jquery ($.get(..) ) I call 3 times the same ASP.NET MVC controller
method in one go. Since the responses are handled asynchronously, the
requests go out almost in parallel.
I know they go off in parallel, because I pass in the client's current time
as a parameter, but they seem to be processed (serverside) one after the
other. To proof this, I response out the start and end time in my controller
routine. In VS2008, using the little debug webserver, it works perfectly in
parallel (same start time). But running mod_mono on Apache, I never get the
calls to start in parallel.
The processing of the individual calls takes some time (about a second to
call an external sevice), so i can see the delay very clearly, i'm not
talking about milliseconds.
The user experience on the page is not very good, the user sees the
returning data areas one after the other instead of building up
We develop a public website, utilizing shopping apis from amazon,ebay etc.
Setup: Mono 2.4.latest, Linux OpenSuse 11, Virtual Server, showing 4 cpus in
cpuinfo, Apache (running worker MPM with high performance settings), hosted
by a professional service.
Any ideas ? Is this something I have to worry about ? I do worry about
scalibility in large, when all requests are handled one after the other..
will it scale better if the request would come from different machines
View this message in context: http://www.nabble.com/mod_mono-parallel-requests-dont%E2%80%99t-run-in-parallel-tp25802952p25802952.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.
More information about the Mono-aspnet-list