Tracker

From Archiveteam
Revision as of 19:05, 1 May 2013 by DukeNukem (talk | contribs)
Jump to: navigation, search

General Overview

The Tracker software is the center-pivot of Archiveteam's distributed archiving efforts. It hands out items to be downloaded and keeps track of what is completed. Items can be usernames, subdomains, full urls, basically any unit we can use to break the site into manageable chunks. The progress of each project can be viewed via the leader board interface on http://tracker.archiveteam.org .

The Warrior is the yang to the Tracker's yin. The warriors get the list of current projects from the project file on http://warriorhq.archiveteam.org/ .

This is a sample from the project file:

{
    "name": "streetfiles",
    "title": "Streetfiles",
    "description": "Streetfiles is closing April, 30th, 2013.",
    "repository": "https://github.com/ArchiveTeam/streetfiles-grab.git",
    "logo": "http://archiveteam.org/images/7/7b/Streetfiles-logo.png",
    "marker_html": "<a href='http://tracker.archiveteam.org/streetfiles/'><img src='http://archiveteam.org/images/7/7b/Streetfiles-logo.png' alt='Streetfiles' width='235' height='50' /></a>",
    "deadline": "2013-04-30T23:59:59Z",
    "host": "streetfiles.org",
    "leaderboard": "http://tracker.archiveteam.org/streetfiles/",
    "lat_lng": [
        51,
        9
    ]
},

It shows where to get the grab code and other project information.

Hardware

The tracker runs on a Linode 1 GB instance operated by chronomex. The system is tracked by Munin.

alard takes care of making the tracker run happily.

Software used:

  • Universal Tracker is a python based HTTP application that sends and receives JSON payloads and uses Redis for the data store.
  • Redis A memory based key value store
  • Debian is the Linux distribution the stack is built upon.
  • warrior-hq a small Sinatra web app to manage the Warriors and display the geo-location world map.