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
  • #16596

Closed (moved)
Open
Opened Jul 15, 2015 by Karsten Loesing@karsten

Change database queries towards making only a single query per request

We're currently making up to four database requests to handle a single user request. We're re-using the same database connection for them, but we can very likely do better.

Maybe we can reduce this to making only a single database query per request. This might require some mild hacking, because we'd want the query response to contain at least the following information:

  • table rows for the technical details part,
  • addresses in the same /24 or /48 without details
  • whether there were any consensuses in the database for the requested day or previous/next day, and
  • dates of first and last consensus in the database.
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#16596