Difference between revisions of "G.I.S.S. Statistics - G-Stats"
Line 10: | Line 10: | ||
The statistics are already collected in a database, which is used for the map and also in the simple real-time list of channels available here : [[http://giss.tv/stats.php Instant Statistics]]. | The statistics are already collected in a database, which is used for the map and also in the simple real-time list of channels available here : [[http://giss.tv/stats.php Instant Statistics]]. | ||
+ | |||
+ | |||
+ | = Work Achieved = | ||
+ | |||
+ | The processes of updating the map and of collecting statistics are using the same database, so some optimization have been introduced for that these two processes run in parallel with a minimum update time. | ||
+ | |||
+ | The update time of map and statistics have been reduced to 3 to 5 minutes depending on the activity. | ||
+ | |||
+ | We chose to use [[http://naku.dohcrew.com/libchart/pages/introduction/ libchart]], a simple php library for drawing chart that fits our needs ( rapidity and basic charts functionalities ). | ||
+ | |||
+ | A graph of instant statistics has been made, it reflects the same contents as the map : [[http://giss.tv/gsttas/index.php Instant Graph of Traffic]]. | ||
+ | |||
+ | Daily statistics are also available here : [[http://giss.tv/gsttas/genstats.php Daily Statistics]. | ||
+ | |||
= To Do = | = To Do = | ||
− | The instant statistics should be recorded "intelligently" and | + | The instant statistics should be recorded "intelligently" and we should produce diagrams of audience using various criteria ( by channel, repartition by country, repartition by clients, ... ). |
Revision as of 21:14, 30 November 2008
Context And Goals
This task is intended to provide statistics to G.I.S.S. ( G-Stats ), some tools to visualize the activity of each channel.
Due to the fact that G.I.S.S. relies on more than one icecast server, all data should be gathered in a central database and all the statistics should be produced from there.
The statistics should be available in forms of charts showing the traffic on each channel and able to produce comparative diagrams over various periods of time.
Starting Point
The statistics are already collected in a database, which is used for the map and also in the simple real-time list of channels available here : [Instant Statistics].
Work Achieved
The processes of updating the map and of collecting statistics are using the same database, so some optimization have been introduced for that these two processes run in parallel with a minimum update time.
The update time of map and statistics have been reduced to 3 to 5 minutes depending on the activity.
We chose to use [libchart], a simple php library for drawing chart that fits our needs ( rapidity and basic charts functionalities ).
A graph of instant statistics has been made, it reflects the same contents as the map : [Instant Graph of Traffic].
Daily statistics are also available here : [Daily Statistics.
To Do
The instant statistics should be recorded "intelligently" and we should produce diagrams of audience using various criteria ( by channel, repartition by country, repartition by clients, ... ).