Nova Resource:Stats/Plan

From Wikitech

Frontend area

  • Runs our custom api with some authentication
    • stats.wmflabs.org:## 8080?
    • Should basically verify authentication is correct, and forward everything else w/o modifications to collector
    • addshore thinking ahead this should also have a simple variable that can be tweaked to store the requests in a queue to later be submitted to the collector incase an update is ever needed on the collector of db, this way nothing would be lost and it could simple be submitted after the maintenance? :D
      • We should set up logging in a format so that if the collector ever fails, we can just have a script read from the log and re-try all the requests. legoktm (talk) 07:50, 25 June 2013 (UTC)
  • Started a brief draft at [1]. (libyaml-dev) ?
  • Runs the evaluator
    • stats.wmflabs.org:80
  • Accessible by all
  • Needs mongodb npm cube apache2 (+whatever the custom api will run on)

Cube area

  • Runs the collector
  • Accessible by project only
  • Needs mongodb npm cube

Mongodb area

  • Runs the database for cube
  • Accessible by project only
  • Needs mongodb-server

mongodb-server has been installed and it's running. Do we need to do anything else? legoktm (talk) 07:53, 27 June 2013 (UTC)

We could add authentication between the db and services but imo thats not exactly necessary. The collector and evaluator are already setup to use localhost and no auth details. addshore (talk) 15:17, 27 June 2013 (UTC)

Links