Measuring the page generation of the forum

Jesse Phillips jessekphillips+D at gmail.com
Thu Apr 12 20:24:17 PDT 2012


On Thursday, 12 April 2012 at 18:36:01 UTC, SomeDude wrote:
> Hi,
>
> I've noticed a couple of times (i.e very rarely, mind you), 
> that the page generation of the forum had hiccups.
> Have other people experienced such hiccups ?
> If yes, I wonder if we saw the GC kicking in, or if it was 
> SQLite's fault (or was it a network latency ?).
>
> Anyhow, the forum seems to me a good opportunity to measure the 
> D runtime in action on the server side, and in particular the 
> GC.
> A few questions :
> Is the server regularly restarted or is it running smoothly 
> without having to be restarted at all ?
> Does it measure the time for the page generation ? Would it be 
> interesting to see at the bottom of the page something like 
> "Page generated in xxx ms", when I (or other people) come 
> accross those hiccups, and to collect these data for statistics 
> over a week/month ?

I'm pretty sure it is the NG itself. Every news reader I've used 
has shown some form of "hiccup" If you try making a post under a 
heavy load you'll get a nice page telling you the load and what 
it needed to be.


More information about the Digitalmars-d mailing list