Difference between revisions of "Platform Team/Server Kit/Guide/Usage Statistics"
< Platform Team | Server Kit
Jump to navigation
Jump to search
(Created page with "==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 rr...") |
(No difference)
|
Revision as of 09:02, 10 February 2012
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.
journal.rrd
- active
- creates
- deletes
- updates
- uptime
system.rrd
- diskfree
- uptime
shell.rrd
- active
- friends
- uptime
activity.<bundle_id>.rrd
- active
- buddies
- instances
- new
- resumed
- uptime
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.