110 likes | 238 Views
Parallels, Summer School 2014. Extended Webserver Statistics for Plesk. Author : Uvarov Vadim. University: NSTU. uvarov.vadim42@gmail.com. Write statistics extension for Plesk (instead of AWStats , Webalizer ) Gather webserver statistics from logfiles
E N D
Parallels, Summer School 2014 Extended Webserver Statistics for Plesk Author: UvarovVadim University: NSTU uvarov.vadim42@gmail.com
Write statistics extension for Plesk(instead of AWStats, Webalizer) • Gather webserver statistics from logfiles • Display statistics for clients (websites separately, subscription in total,interactivity, history) • Performance (for large number of sites) Goals
For each subscription and each site! Extension directory Once a day! access_log (in common log format) stat.exe .stat files Backend: scheme
C++ language was chosen for the backend • Parallelism (not yet realized):a) each string (record) – separate thread (shared resources, complex, synchronization) b) each website – separate thread (in case of many websites) (no dependencies) Backend: performance
Languages: PHP language, javascript • Google Charts for plots and tables • Interactivity: daterange selection, sorting, one parameter in column chart Frontend
Positive testing (manual)- functional testing- UI testing • Negative testing- corrupted access_log files- non-existing subscriptions • TODO: security tests Testing
Parallelism, optimization • Do performance tests (compare with Awstats, Webalizer) • Show only the subscriptions that current user owns • Automatic detection of newly created subscriptions and sites • New statistical data • Unique users by cookies (not unique IPs) • Security concerns • Integration with Zend • Beautiful design • (write my own plotbuilder) TODO:
Extended Webserver Statistics for Plesk Parallels, Summer School 2014 Any questions? Author: UvarovVadim University: NSTU Thanks for your attention! uvarov.vadim42@gmail.com