[Mono-devel-list] using xsp as webserver

Jerome Laban jlaban at wanadoo.fr
Tue Jul 8 01:31:23 EDT 2003


Agreed, that patch was like a "proof of concept" :) Right now I don't
think one would modify configuration file as the server is running, at
least it could be told not to do it.
I'll try to look at doing the caching in the config classes, if noone is
already on it.

Doing some quick profiling showed that these files a read a *lot* of
time, this would benefit a broader set of classes that rely on this.

Jerome.

-----Original Message-----
From: mono-devel-list-admin at lists.ximian.com
[mailto:mono-devel-list-admin at lists.ximian.com] On Behalf Of eric
lindvall
Sent: Tuesday, July 08, 2003 3:18 AM
To: Gonzalo Paniagua Javier
Cc: Mono Development
Subject: Re: [Mono-devel-list] using xsp as webserver


I would suggest moving that caching into ConfigurationSettings (so it
can monitor file changes, etc).

I looked around at the ConfigurationSettings classes and it looked like
it would be fairly easy to implement.

e.


On Tue, 08 Jul 2003, Gonzalo Paniagua Javier wrote:

> El mar, 08-07-2003 a las 00:05, Jerome Laban escribió:
> > Here is a little time saver :) The HttpContext class is accessing 
> > many times the ConfigurationSettings class, which is *really* slow.
> > 
> > On my honorable Pentium 233MMX (yep, mmx :) ), I got static pages 
> > processing falling down from ~250ms to ~25ms. This is still slow, 
> > but for that kind of CPU, that's ok.
> > 
> > Hope this will help.
> 
> This is _almost_ ok. The keys should also depend on the file 
> modification time.
> 
> Anyway, I can commit this as is and improve it later. What do you 
> think?
> 
> -Gonzalo
> 
> 
> 
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com 
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list




More information about the Mono-devel-list mailing list