[Backgroundrb-devel] monitoring the server
apsoto at gmail.com
Sat Feb 16 00:46:21 EST 2008
I don't know if there are any API's, but you could create a monitoring/
stats worker that exposes whatever data you can gather. If you write
one, please consider submitting it for inclusion in the project.
On Feb 15, 2008, at 9:24 AM, George Feil wrote:
> First, some good news: after a few fits, starts, and configuration
> tweaks, we’ve succeeded in deploying BackgrounDRb onto our
> production machines, where we’re using itto perform cache expiration
> on our Rails generated pages. [We’re using v1.0.1 code at the
> moment, but plan to upgrade to 1.0.3 in the next week or two.] We
> use an event driven model for expiration, which is triggered by
> observers in our Rails application.
> However, we’re concerned about robustness, and would like to set up
> some monitoring tools. In particular, we’d like to keep tabs on
> things like:
> total number of threads allocated
> number of active worker threads
> duration of currently active threads (to help identify hung ones)
> Are there any good examples of monitor workers that do this now?
> What sort of statistics API’s are available? I didn’t see anything
> obvious in the RDoc for this.
> George Feil | Senior Software Engineer
> office 415.295.8524 | fax 415.295.8580
> Backgroundrb-devel mailing list
> Backgroundrb-devel at rubyforge.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Backgroundrb-devel