Hi,

While trying to use gmond to monitor our applications, we found some issues:
- Metric collecting may take long time to finish, such examples
include collecting master/slave status from LDAP, parsing web pages to
get statistics.
- Receiving metrics updating from other node may fail due to blocking
metric collecting.

To avoid this blocking behavior, we tried to change gmond to multithread:
- Main thread to collect metrics, we also have the metric collection
python script changed to be non-blocking
- Dedicate thread to receive updates from other nodes.
- Dedicated thread to server clients (gmetad/telnet, etc).

Could you help review the patch? We'd like to contribute the patch to
the community if multi-thread is a generally required features.

Any comments will be appreciated. Thanks.

p.s. Just to be curious, why ganglia was changed from multi-thread
into single thread from 2..5.7 to 3.0?


Cheers,
Hang

Attachment: mthread.patch
Description: Binary data

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Ganglia-developers mailing list
Ganglia-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-developers

Reply via email to