[tor-bugs] #1841 [Metrics]: Implement node churn and uptime statistics (was: Node churn and uptime statistics)
Tor Bug Tracker & Wiki
torproject-admin at torproject.org
Fri Aug 20 11:58:08 UTC 2010
#1841: Implement node churn and uptime statistics
---------------------+------------------------------------------------------
Reporter: kjbbb | Owner: karsten
Type: task | Status: assigned
Priority: normal | Milestone:
Component: Metrics | Version:
Keywords: | Parent:
---------------------+------------------------------------------------------
Changes (by karsten):
* status: new => assigned
Comment:
We should merge this code into metrics-db. As discussed on #tor-dev today,
Kevin is going to cherry-pick/interactively rebase his development branch
to come up with a branch that implements just the churn and uptime
statistics.
Here's also an idea for graphing churn and uptime: I found it useful to
visualize uptime sessions using empirical cumulative distribution
functions, like in
[https://trac.torproject.org/projects/tor/attachment/ticket/1721/relay-
uptime-ecdf.png this graph on uptime sessions by platforms]. ECDFs are not
built into ggplot2 directly, so one has to transform the data manually and
draw a line plot of them. Here's an example:
library(ggplot2)
t <- rnorm(1000)
ts <- sort(t)
data <- data.frame(x = ts, y = (1:length(ts)) / length(ts))
ggplot(data) + geom_line(aes(x=x,y=y))
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/1841#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list