[Mono-list] can i pre-compile *.asmx for mod-mono-server2?
Ricardo Contreras
aztlan2k at gmail.com
Mon Jan 14 12:40:43 EST 2008
Thanx Miguel, i appreciate the response.
I had a feeling this was going to be the case. For my particular situation,
I think i have a work around by simply hitting the *.asmx files using wget
on first-boot using an init script.
wget http://localhost/*.asmx
That'll absorb the delay into the first-boot and not on first access by
anyone using the web service.
thanx again.
/r/
On Jan 14, 2008 11:35 AM, Miguel de Icaza <miguel at novell.com> wrote:
> Hello,
>
> > Is it possible to pre-compile my *.asmx files so that I don't take that
> > initial compilation hit on first access to my web services? (something
> > along the lines of 'mono --aot' but for mod-mono-server )
>
> This is not currently possible, although Marek mentioned that he has
> been working on this and might have something usable soon.
>
> I ran into a similar concern when dealing with a hosting provider that
> times out FastCGI processes after 5 minutes. After the timeout, the
> user would experience the first hit delay again (in the end, I could not
> use that hosting service because their Linux is too old to support
> Mono).
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080114/c077d256/attachment.html
More information about the Mono-list
mailing list