id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	phpversion	appname	pending	exts	sapi	probability	blocking
1	[TODO] A Uptime statistics collector	moo	moo	"There should be a XCache uptime statistics collector, showing you how stable each XCache version is on each php version.

functionalities:
 * collect informations/statistics from servers those using XCache
 * it isn't enabled by default. the server admin have to configure it as an cron job
 * the server admin choose what to be collected, while not leaking other information. e.g.: collect network traffic, php hits/s, loadavg, but don't leak its ip address, hide email address from normal user except XCache admin (for contact).
 * normal user can see the statistics and choose what php/XCache version to use. or abandon XCache with ea/apc/etc..

design rules:
 1. back compatibility. because newer collector client might have more info than the old one that submit to collector server, the server and display page should compatible with old clients
 1. keep it simple
 1. easy to setup on collector client side (not collector server, aka. XCache users' production server), don't pull out many package dependency. e.g.: use bash/sh or php for programming language
 1. high performance client: take as little resource (cpu/memory/diskio) as possible
 1. users' profile and servers' profile should be designed for easy assignment.

possible implemention of some details:

 * data relation
  a. each real user has user_profile
  a. user_profile has many server_profile (server_profile belongs to user_profile)
  a. server_profile has many history_state (history_state belongs to server_profile)
 * user profile data detail
  * userid (auto_inc, generated by database, mysql)
  * nickname
  * password (secret)
  * email
  * showemail (true=public email to all users. false=show email to XCache admin only)
 * server profile data detail
  * serverid (auto_inc, generated by database, mysql)
  * GUID (secret, generated by user)
  * CPU class, frequence, count
  * memory size
  * xcache.size, xcache.count.
  * xcache.var_size, xcache.var_count. % xcache.var_size used
  * xcache.shm_scheme
  * other xcache settings..
 * history state
  * serverid
  * phprequestsrate
  * phpbandwidth
  * bytes of xcace.size that used
  * bytes of xcace.var_size that used
  * ...
 * profile registration
  a. cli tools and/or webpage for generating GUID
  a. it is suggested that the user should generate the GUID and let the collector always use the same GUID for the same server. but we can let the collector generate a GUID and save it in /var/tmp/xcache.server.guid or whereever for easy of use.
  a. most of the server info is created and updated by collector client automatically along with some performance/statistics data
  a. user can create user profile with password set.
  a. logined user and can assign any server profile that's not assigned yet AND if he knows the secret GUID, or delete the profile. or assign the server profile (which belongs to current logined user profile) to other user profile.
 * any evil user can spam the collector server, there should be a easy way to delete spam data
 * a page for full user/server profile list
 * a page for displaying summary statistics
"	enhancement	new	major	4.0.0	website	1.2-dev							0		Irrelevant		
