|
This is a large patch, sorry. It probably doesn`t make sense to review this in detail - some polishing is certainly possible but this isn`t really critical. At least I tried to comply with PEP 8 this time :). However, it would be great if you could verify the general approach. Also, anything that can speed up log processing would be appreciated. In general, currently there are three steps executed daily: 1) Mirror servers process their logs and save the result in a temporary file. 2) Stats master retrieves these files and merges them into the existing data. 3) Stats master produces static HTML pages for the data. We probably want to move 1) off the mirrors to the stats master but right now we have too many logs to process them on a single server. Also, we probably don`t want to rebuild all pages in 3) but only do it if the data changed.
Total comments: 1
Total comments: 22
Total comments: 13
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1872 lines, -910 lines) |
Patch |
|
M |
.sitescripts.example
|
View
|
|
2 chunks |
+17 lines, -4 lines |
0 comments
|
Download
|
|
M |
sitescripts/stats/__init__.py
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
|
M |
sitescripts/stats/bin/__init__.py
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
|
M |
sitescripts/stats/bin/datamerger.py
|
View
|
1
2
|
1 chunk |
+65 lines, -40 lines |
0 comments
|
Download
|
|
M |
sitescripts/stats/bin/logprocessor.py
|
View
|
1
2
3
4
|
1 chunk |
+343 lines, -86 lines |
0 comments
|
Download
|
|
M |
sitescripts/stats/bin/pagegenerator.py
|
View
|
1
2
3
|
1 chunk |
+138 lines, -116 lines |
0 comments
|
Download
|
|
A |
sitescripts/stats/common.py
|
View
|
1
2
3
4
|
1 chunk |
+147 lines, -0 lines |
0 comments
|
Download
|
|
M |
sitescripts/stats/countrycodes.py
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
sitescripts/stats/static/flags.css
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
|
M |
sitescripts/stats/static/flags.png
|
View
|
|
Binary file |
0 comments
|
Download
|
|
M |
sitescripts/stats/static/hours.css
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
|
M |
sitescripts/stats/static/hours.png
|
View
|
|
Binary file |
0 comments
|
Download
|
|
M |
sitescripts/stats/static/stats.css
|
View
|
|
1 chunk |
+118 lines, -97 lines |
0 comments
|
Download
|
|
M |
sitescripts/stats/template/fileOverview.html
|
View
|
|
1 chunk |
+76 lines, -89 lines |
0 comments
|
Download
|
|
M |
sitescripts/stats/template/fileStats.html
|
View
|
1
|
1 chunk |
+202 lines, -384 lines |
0 comments
|
Download
|
|
M |
sitescripts/stats/template/main.html
|
View
|
|
1 chunk |
+71 lines, -70 lines |
0 comments
|
Download
|
|
A |
sitescripts/stats/test/__init__.py
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
|
A |
sitescripts/stats/test/common.py
|
View
|
|
1 chunk |
+44 lines, -0 lines |
0 comments
|
Download
|
|
A |
sitescripts/stats/test/logprocessor.py
|
View
|
|
1 chunk |
+640 lines, -0 lines |
0 comments
|
Download
|
|
M |
sitescripts/templateFilters.py
|
View
|
|
4 chunks |
+1 line, -25 lines |
0 comments
|
Download
|
|
M |
sitescripts/utils.py
|
View
|
1
2
|
1 chunk |
+14 lines, -3 lines |
0 comments
|
Download
|
Total messages: 22
|