I want to show my users statistics, for example, hits / second in Google App Engine. I started the roll myself:
- In each page view, add 1 to the memcache account.
Every minute:
- Read and reset the counter, and set the variable โstarting withโ for it.
- Divide the number of hits by the amount of time since the last calculation.
- Save the data for the object to the data warehouse.
- Throwing data that is really old.
Then I realized that this is nontrivial, and there must be a library for this, but I can not find the one that works for me. I looked briefly at rrd4j and JRobin, but I'm not sure if they can be used in the Google App Engine without a lot of rewriting. Does anyone have any ideas?
source
share