Platform Team/Server Kit/Guide/Usage Statistics
< Platform Team | Server Kit
Jump to navigation
Jump to search
Revision as of 10:01, 10 February 2012 by Alsroot (talk | contribs) (→RRD (Round Robin Database) file data types)
RRD (Round Robin Database) file data types
There is a standard set of rrd databases containing stats for journal, system, shell. For each activity there is an independent rrd database which tracks a standard set of parameters, the details for which are listed below.
- database files conform Statistics identifiers list;
- database file name for non-activities is in format
<TOP-LEVEL-STAT-ID>.rrd
; - database file name for activities is in format
activity.<BUNDLE-ID>.rrd
; - the set of database fields conform second level stat identifiers for particular stat.
Factors affecting network bandwidth
The two primary factors affecting the network bandwidth are:
- the size of the RRDs being synced
- and the sync frequency.
RRD size
- This is primarily controlled through RRA (parameters). I will upload more notes on this as I get to know RRD's better. (Anish)
Sync frequency
- This is controlled by the update-timeout parameter in the sugar-client configuration.
Caution: The default RRD parameters and the sync frequency don't quite match up. The RRDs track usage statistics for around 8-10 days and the sync frequency is one hour! This needs to be tweaked appropriately while deploying in a production environment to save on bandwidth.