[tor-bugs] #5430 [Atlas]: Add top-10 relays by bandwidth history to Atlas?
Tor Bug Tracker & Wiki
torproject-admin at torproject.org
Tue Mar 20 18:03:26 UTC 2012
#5430: Add top-10 relays by bandwidth history to Atlas?
-------------------------+--------------------------------------------------
Reporter: karsten | Owner: hellais
Type: enhancement | Status: new
Priority: minor | Milestone:
Component: Atlas | Version:
Keywords: | Parent:
Points: | Actualpoints:
-------------------------+--------------------------------------------------
Comment(by karsten):
Replying to [comment:1 hellais]:
> I think this is a great idea, and my plans for Atlas is to not have it
just centered around one search, but to have also other corollary
features.
Ah, cool, I wasn't sure about that. Great! :)
> Where can I get the top 10 relays by bandwidth history? Would Onionoo be
providing me with such list?
Yes, Onionoo would provide you with such lists.
I'm not sure what other lists would be useful to have. That makes it
difficult to design a good API. How about a URL like this (''not
implemented yet''):
{{{
GET details/relays?orderby=-bwhist&limit=10
}}}
The `-bwhist` would mean "in descending order," but we could also add a
`desc` parameter or something. The result would have its relay elements
in sorted order, rather than unsorted as they are right now.
Of course, we could allow the same parameters for all other resources and
URLS, too.
This feels like designing a database interface. I wonder if there are
databases providing us with such an interface. I could rewrite Onionoo to
be just the database importer and let the database do the hard work that
databases are designed for. Hmmm.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/5430#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list