HCE Project Python language Distributed Tasks Manager Application, Distributed Crawler Application and client API bindings.  2.0.0-chaika
Hierarchical Cluster Engine Python language binding
dtm.ResourcesStateMonitor Namespace Reference

Classes

class  ResourcesStateMonitor
 

Variables

 logger = logging.getLogger(DTM_CONSTS.LOGGER_NAME)
 

Detailed Description

HCE project, Python bindings, Distributed Tasks Manager application.
ResourcesStateMonitor object and related classes definitions.
This object acts as monitor of resources of HCE Cluster.
Periodically reads cluster schema from json schema file and make DRCE synch task request for all "replica" or
"shard" nodes. The DRCE task request is prepared and stored in the json external file that read each time when
monitoring cycle happened. The DRCE synch task acts as set of Linux commands and collects system information like
AVG CPU, disk, memory usage and so on. This information parsed and some system resource usage indicators detected.
This indicators updated the resource database that used for tasks planning.


@package: dtm
@author bgv bgv.hce@gmail.com
@link: http://hierarchical-cluster-engine.com/
@copyright: Copyright © 2013-2014 IOIX Ukraine
@license: http://hierarchical-cluster-engine.com/license/
@since: 0.1

Variable Documentation

◆ logger

dtm.ResourcesStateMonitor.logger = logging.getLogger(DTM_CONSTS.LOGGER_NAME)

Definition at line 41 of file ResourcesStateMonitor.py.