anhnongdan / cBIMAX

Official source code for cBIMAX - the analytics system for CDN
0 stars 0 forks source link

[Actions] Verify actions, hits count #32

Open anhnongdan opened 7 years ago

anhnongdan commented 7 years ago
anhnongdan commented 7 years ago

Read the Wiki about Action Tracker: https://github.com/anhnongdan/BimaxCore/wiki/How-Piwik-track-Actions-type

=>> For now, decide to keep download. cBIMAX doesn't need site search and outlink.

27

anhnongdan commented 7 years ago

Compare PW3 (std Piwik) and PW6 on VNPT:

screenshot from 2017-08-17 13-56-30 screenshot from 2017-08-17 13-56-46

2 plugin PW3 then PW6:

screenshot from 2017-08-17 13-57-53 screenshot from 2017-08-17 13-58-02

screenshot from 2017-08-17 13-58-20 screenshot from 2017-08-17 13-58-35

anhnongdan commented 7 years ago

Visit Overview PW3 then PW6, archived in nearly the same moments:

screenshot from 2017-08-17 14-02-34 screenshot from 2017-08-17 14-02-42

anhnongdan commented 7 years ago

Acceptable accuracy!!

Flow up verifying for other CDN Analyzer. For now, close the related tickets and approve commit.

anhnongdan commented 7 years ago

Action based metrics have gaps but this is inevitable. It's hard to tell. cBimax seems to always give slightly bigger number than PIWIK

screenshot from 2017-08-18 11-02-07 screenshot from 2017-08-18 11-02-16

anhnongdan commented 7 years ago

Mass update for cBimax instances and confirm.

anhnongdan commented 7 years ago

All VTV CDNs => CDN Total Download on QoS VTV VNPT PW1: 29-08: 75.543Gb, 28-08: 108,848Gb, 27-08: 113,420Gb, 26-08: 103,391Gb /8 => 9,4 13,6 14,75 12.9

=> Total BW: 29-08: 17,95GB, 28-08: 16,823GB, 27-08: 14,601GB, 26-08: 25,869

All K+ VNPT => BW: 26-08: 144GB 239GB 20GB 29-08: 9GB

=> Total DL: 26-08: 391.8 459.4 113.8 29-08: 18.4

Awstat fpt_kplus vnpt_vtvgolive-appobj b5695cde cdnviet com

anhnongdan commented 7 years ago

Verify hit: on PW2 VNPT -> K+ Total sum of all log_link_visit_action_2017_08_27: 1,215,565 on MultiSite: 1,215,565 action.

Do some math on log files: 338M 928,680 vtvgolive-appobj.b5695cde.cdnviet.com_2017_08_30_19_31 1,367,542 vtvgolive-appobj.b5695cde.cdnviet.com_2017_08_30_19_16

=> 340MB ~ 1M log line 500MB ~ 1,367,542 line

=> 08/30: from 09_33 to 19_34: 68G => this should be 190.4M hits => MultiSite shows from 0h: 21,8M

On K+: 19M ~ 53K => multiSite: 13K

anhnongdan commented 7 years ago

Verify on counter: anhnongdan/bimax-counters#18

anhnongdan commented 7 years ago

Fixed counter on the issue above. Traffic supposed to go up like hell.

PW1 CPU load goes up. But Realtime Counter seems not to adapt with the raise. screenshot from 2017-08-31 13-22-25

Not much change:

screenshot from 2017-08-31 13-25-14

anhnongdan commented 7 years ago

Actions count goes up for all VNPT instances just 20 min after the fix, like PW5 of THVL:

screenshot from 2017-08-31 13-29-59