[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #21095 [Metrics/Onionoo]: Accept more values for the "order" parameter



#21095: Accept more values for the "order" parameter
-----------------------------+------------------------------
 Reporter:  lukechilds       |          Owner:  metrics-team
     Type:  enhancement      |         Status:  new
 Priority:  Medium           |      Milestone:
Component:  Metrics/Onionoo  |        Version:
 Severity:  Normal           |     Resolution:
 Keywords:  metrics-help     |  Actual Points:
Parent ID:                   |         Points:
 Reviewer:                   |        Sponsor:
-----------------------------+------------------------------

Comment (by lukechilds):

 Re use case, it was requested that there be a way to list the newest
 relays on the network on Tor Explorer as these relays have a lower chance
 of being blacklisted:
 https://github.com/lukechilds/tor-explorer/issues/5

 I've got it working by getting all details docs from
 https://onionoo.torproject.org/details and ordering locally. The thing is
 Onionoo takes around 15 seconds to respond with all this info and it's
 over 2MB of JSON to sort through. I don't think it's really a viable
 solution.

 I only need the top ten for the first page, so it would be much more
 elegant if I could tell Onionoo to order by `first_seen` and then limit to
 10. Then for the next page do the same query but offset by 10 etc.

 The main value I think would be useful would be `first_seen`, however I
 was thinking of adding a drop down box to Tor Explorer to allow the user
 to order by whichever properties they want. Obviously if that's going to
 be a lot of effort on the Onionoo end then it's probably not worth it.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/21095#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs