--
You received this message because you are subscribed to the Google Groups "PyPLN" group.
To post to this group, send email to py...@googlegroups.com.
To unsubscribe from this group, send email to pypln+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pypln?hl=en.
El jun 7, 2012 5:17 p.m., "Flavio Coelho" <fcco...@gmail.com> escribió:
>
> Alvaro,
>
> I think we need to include also active jobs. I'd like to be able to track jobs, their info,running time and possible traceback when they fail. And we need a timestamp as well, so that we can create time-series plots with this data.
You are right. I'll add this information as soon as I come back to my notebook.
I'll add a key 'timestamp' in document's root and worker info (worker name, start timestamp, document id) to worker process dictionary.
Probably the total number of jobs processed by that broker and the total amount of 'worker time' (since broker started) will be interesting to us too.
I think failure information should be inserted in another collection since it'll be exceptions, not 'node usage' metrics (but I'll only work on this when creating the timeline tests, after merge -- so I'll deal with lost jobs, job timeout etc.).
> I think we should configure the statistics collection to be a capped collection so that we can keep only say, a month of statistics. Or come up with a way to automatically archive older data.
It depends! What if we increase the number of brokers in the middle of a month or change the interval which brokers send statistics?
I think the best approach here is to always have the working set in memory, so MongoDB will always answer quickly independent of collections' size. We also need to remember that monitor won't be used 100% of the time, so I think there is no problem loading more things on memory (on MongoDB's machine) when you open monitor and then remove those things when you stop using it.
--
You received this message because you are subscribed to the Google Groups "PyPLN" group.
To post to this group, send email to py...@googlegroups.com.
To unsubscribe from this group, send email to pypln+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pypln?hl=en.