[Mono-aspnet-list] Mono slow on initial request

Martijn van Egdom martijnvanegdom at gmail.com
Wed Jun 20 07:43:09 UTC 2012


Option 1 - Didn't changed a thing.. it's still slow
Option 2 - Application Start has an empty body and does not do a thing.

The website was running smooth until the last Update. In the last update a couple of pages were refactored from the root into subfolders to create a better overview during development and a couple of pages were added. In the base nothing changed.


Op 20 jun. 2012, om 09:16 heeft Miljenko Cvjetko het volgende geschreven:

> Hi
> 
> On 2012.06.20 09:04, Martijn van Egdom wrote:
>> When using mono (mod-mono in apache) we have the strange behavior that the first request after apache is started is extreemly slow (takes up 10 seconds to load the page). All other requests after this one are just fast ( less then half a seond). 
> 2 reasons possible:
> native compilation (not precompilation)
> see:http://stackoverflow.com/questions/8151835/huge-delay-on-first-browser-request-to-mono-xsp-hosted-web-application
> to minimize this do AOT ahead of time compilation ( ngen like)
> Application_Start does a lot heavy lifting
> 
> few more (ASP.net related, but could apply here)
> http://stackoverflow.com/questions/4755707/c-sharp-code-runs-quick-on-iis-but-slow-on-mono-how-to-improve-it/4771015#4771015
> http://blogs.msdn.com/b/mcsuksoldev/archive/2011/01/19/common-performance-issues-on-asp-net-web-sites.aspx
> 
> regards
> mel
>> After some time being idle.. the same behaivor can be observed. 
>> 
>> Has somebody an idea whats happing here? 
>> 
>> _______________________________________________
>> Mono-aspnet-list mailing list
>> Mono-aspnet-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-aspnet-list
> 
> 
> -- 
> Miljenko Cvjetko dipl.ing. ET
> 	Direktor/CEO
> 	Projektant rješenja/Solution Architect	
> 	Razvojni programer/Senior developer
> 	Voditelj projekta/Project Manager
> 
> IX južna obala 13
> Kajzerica Zagreb
> T: 385 1 7775555
> M: 385 91 557 447 3
> F: 385 1 7779556
> e: mcvjetko at holisticware.net
> w: http://www.holisticware.net
> _______________________________________________
> Mono-aspnet-list mailing list
> Mono-aspnet-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-aspnet-list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-aspnet-list/attachments/20120620/673e8047/attachment.html>


More information about the Mono-aspnet-list mailing list