Changes between Version 7 and Version 10 of Ticket #395


Ignore:
Timestamp:
10/07/2014 02:50:23 PM (4 years ago)
Author:
kzar
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #395

    • Property Cc dave@… added
    • Property Owner set to kzar
  • Ticket #395 – Description

    v7 v10  
    44=== What to change === 
    55Create a web application (e.g. Flask) that collects filter hit statistics sent by Adblock Plus (as of #394) anonymously. 
     6 
     7Filter hits will be collected for a certain period of time by the browser, for example 1 week, and then be submitted to the web application via a POST request as JSON. 
     8 
     9This server will then store the raw data as JSON in either flat files or noSQL/similar database and also will store aggregated data in a MySQL database. In the future if the data proves too much we might stop recording the raw data at all. 
     10 
     11Aggregated data needs to be weighted somehow as newer data is more important than old data. 
     12 
     13The server then needs to provide two API calls for a front end application: 
     14 
     15 1.) Query by filter. "For this filter show me which domains matched and how often." 
     16 2.) Query by domain. "For this domain which filters matched and how often?" 
     17 
     18Server should be set up in the infrastructure repository with Puppet scripts etc. It will be a dedicated server called "hitstats".