Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Arti Arti
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 139
    • Issues 139
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 9
    • Merge requests 9
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • The Tor Project
  • Core
  • ArtiArti
  • Issues
  • #60
Closed
Open
Created Feb 05, 2021 by Nick Mathewson@nickm👁Owner

Build circuits preemptively

Tor builds circuits in advance, to be sure they're available when needed. We should make arti do the same. See also #50 (closed).

The approach for building circuits is specified, more or less accurately, in section 2.1.1 of path-spec.txt.

C tor's implementation is spread out a bit. The src/feature/stats/predict_ports.c module does the work of predicting what ports a client will want to connect to in the immediate future; the circuit_predict_and_launch_new() function in src/core/or/circuituse.c does the work of launching these circuits as needed.

Edited Nov 02, 2021 by Nick Mathewson
Assignee
Assign to
Time tracking