Mercurial > kallithea
comparison docs/usage/statistics.rst @ 1025:bbd499c7b55e beta
docs update
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Fri, 11 Feb 2011 01:21:16 +0100 |
parents | docs/statistics.rst@bb35ad076e2f |
children | 8af52e1224ff |
comparison
equal
deleted
inserted
replaced
1024:22c147726ea6 | 1025:bbd499c7b55e |
---|---|
1 .. _statistics: | |
2 | |
3 | |
4 Statistics | |
5 ========== | |
6 | |
7 RhodeCode statistics system is heavy on resources, so in order to keep a | |
8 balance between the usability and performance statistics are cached inside db | |
9 and are gathered incrementally, this is how RhodeCode does this: | |
10 | |
11 With Celery disabled | |
12 ++++++++++++++++++++ | |
13 | |
14 - on each first visit on summary page a set of 250 commits are parsed and | |
15 updates statistics cache | |
16 - this happens on each single visit of statistics page until all commits are | |
17 fetched. Statistics are kept cached until some more commits are added to | |
18 repository, in such case RhodeCode will fetch only the ones added and will | |
19 update it's cache. | |
20 | |
21 | |
22 With Celery enabled | |
23 +++++++++++++++++++ | |
24 | |
25 - on first visit on summary page RhodeCode will create task that will execute | |
26 on celery workers, that will gather all stats until all commits are parsed, | |
27 each task will parse 250 commits, and run next task to parse next 250 | |
28 commits, until all are parsed. | |
29 | |
30 .. note:: | |
31 In any time You can disable statistics on each repository in repository edit | |
32 form in admin panel, just uncheck the statistics checkbox. |