Thanks for your reply. The fact that <request-time> represents a one minute rolling average is understood - it's the value itself that is confusing.
I've checked the source for the admin console and my understanding is that it calculates the average of (current time - start time) for each request-status element returned by xdmp:server-status (i.e. running requests). I may have missed it, but I don't see it using the value from the <request-time> element. I see <request-time> returning values like "4.48296" - which appears at odds with both the admin console and other measurements showing the average request time to be around 300-400ms. Could <request-time> represent the average of some small part of the overall request time? Thanks, Will On 21 November 2014 08:45, David Ennis <[email protected]> wrote: > HI. > > The request time is returned in milliseconds. I believe that the > statement just means that it's a 1-minute rolling average (averaging the > time of all requests int he last minute). > > *I further confirmed this the following way:* > - The Admin interface on port 8001 shows miliseconds as the unit > - Since the Admin interface is just like any other HTTP app server, I just > checked the source xqy and noted that the value(in ms) is also coming from > xdmp:server-status. > > Kind Regards, > David Ennis > > > > > > Kind Regards, > David Ennis > > > David Ennis > *Content Engineer* > > [image: HintTech] <http://www.hinttech.com/> > Mastering the value of content > creative | technology | content > > Delftechpark 37i > 2628 XJ Delft > The Netherlands > T: +31 88 268 25 00 > M: +31 63 091 72 80 > > [image: http://www.hinttech.com] <http://www.hinttech.com> > <https://twitter.com/HintTech> <http://www.facebook.com/HintTech> > <http://www.linkedin.com/company/HintTech> > > On 21 November 2014 08:35, Will Hawes <[email protected]> wrote: > >> http://docs.marklogic.com/xdmp:server-status states the following: >> >> request-time >> 1 minute avarage of request time for this server. >> >> I expected this to be measured in seconds, but I'm seeing values in >> the range 4-5, where load testing shows requests taking an average of >> a few hundred milliseconds. >> >> Is request-time actually showing hundreds of milliseconds? How is it >> calculated? >> >> Thanks, >> Will >> _______________________________________________ >> General mailing list >> [email protected] >> http://developer.marklogic.com/mailman/listinfo/general >> > > > _______________________________________________ > General mailing list > [email protected] > http://developer.marklogic.com/mailman/listinfo/general > >
_______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
