[tor-bugs] #2565 [Metrics]: Redesign Python parts in Torperf
Tor Bug Tracker & Wiki
torproject-admin at torproject.org
Tue Feb 15 10:52:50 UTC 2011
#2565: Redesign Python parts in Torperf
--------------------------+-------------------------------------------------
Reporter: karsten | Owner: karsten
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Metrics | Version:
Keywords: | Parent:
Points: | Actualpointsdone:
Pointsdone: | Actualpoints:
--------------------------+-------------------------------------------------
We're stuffing more and more functionality into Torperf. See #2551 for
outputting circuit build times and #2554 for adding hidden service time
components.
I think it's time to consider a redesign of the Python parts. Having a
Python script for writing controller events to disk, a Python script for
influencing guard selection, and a cronjob for actually making the
requests is already hackish. Adding circuit build times and hidden-
service events stretches this even more.
We could have a single Python program that reads from a configuration file
what to do, starts Tor, connects to its control port, periodically calls
the C program to make requests, and collects all the data we want. This
would also make it much easier to set up Torperf.
Sebastian, Mike: Does this make sense?
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/2565>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list