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:
1. native compilation (not precompilation) see:http://stackoverflow.com/questions/8151835/huge-delay-on-first-browser-request-to-mono-xsp-hosted-web-application 1. to minimize this do AOT ahead of time compilation ( ngen like) 2. 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@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-aspnet-list
-- Miljenko Cvjetko dipl.ing. ET Direktor/CEO Projektant rjes(enja/Solution Architect Razvojni programer/Senior developer Voditelj projekta/Project Manager IX juz(na obala 13 Kajzerica Zagreb T: 385 1 7775555 M: 385 91 557 447 3 F: 385 1 7779556 e: mcvje...@holisticware.net w: http://www.holisticware.net
_______________________________________________ Mono-aspnet-list mailing list Mono-aspnet-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-aspnet-list