Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #1844

Closed (moved)
Open
Opened Aug 20, 2010 by Karsten Loesing@karsten

Implement consensus and descriptor stats as materialized views

Kevin has been working on implementing statistics based on network status consensuses and server descriptors as materialized views in the database. These statistics include number of relays, relay versions, relay platforms, and advertised bandwidth. The motivation is to have the database as single interface between metrics-db and metrics-web.

So far, we have Java and huge temporary files to generate consensus and descriptor stats. The database schema changes that Kevin implemented will maintain tables with the required statistics data. Updates to these tables will be triggered after importing new data every hour. Querying the tables will be very efficient.

As discussed on #tor-dev today, we are going to merge Kevin's code into metrics-db soon. This ticket will be used to keep all discussion about merging the code in a single place.

To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#1844