<blockquote> Randy O'Meara
So, I expect that your contribution will serve as an excellent intro to XOTcl!
</blockquote>
well, there is a tutorial on www.xotcl.org, which will be
more suitable than this. It is some working code, we have
in production since at least two years. I took your comment
to remind me to clean it some more up (made some improvements just now).
there is now an updated version on
http://media.wu-wien.ac.at/download/throttle+stats0.2.tar.gz
changes against 0.1 are: fixed a few typos, put in more
statistics, that i have ripped out before, made some
corrections for idle sites (when there are no requests
for a couple of minutes).
The term "views per second" might not correct
for other uses (we direct requests for static pages
to a different server), since it counts all monitored
requests.
As a side-note: one can query the number of online
users in this package via "throttleThread do Users total".
This call is about twice as fast on our system as
whos_online::num_users, at least, when there are a few
hundred users online.
best regards
-gustaf