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

Re: [tor-bugs] #25274 [Metrics/Onionoo]: Consolidate Onionoo's API



#25274: Consolidate Onionoo's API
-----------------------------+------------------------------
 Reporter:  karsten          |          Owner:  metrics-team
     Type:  enhancement      |         Status:  new
 Priority:  Low              |      Milestone:
Component:  Metrics/Onionoo  |        Version:
 Severity:  Normal           |     Resolution:
 Keywords:                   |  Actual Points:
Parent ID:                   |         Points:
 Reviewer:                   |        Sponsor:
-----------------------------+------------------------------

Comment (by karsten):

 Replying to [comment:2 irl]:
 > I've not yet fully considered what this would entail, but my initial
 reaction is that I'm opposed to the idea. I'd like to see aggregated
 documents appear in the future to be able to move that logic into Onionoo,
 for example, and this would make that more difficult.

 Okay, we could change the first idea into consolidating existing document
 types into one and leaving room for adding more document types in the
 future.

 > I think this ticket attempts to solve the wrong problem. It's not the
 public API that is difficult to maintain, it's the Onionoo backend that
 should really be using a database of some kind.

 I think that's two different things. Even if we start using a database for
 the backend, we'll have to define an API and write an API layer that then
 talks to the database. Unless there exist libraries or database extensions
 that provide an HTTP API that we can use without or with just minor
 modifications.

 The goal of this ticket was to throw the idea out there and start a
 discussion. I'm not planning to change this in the near future. And even
 when we add the new API, we should leave the old one in place for a couple
 months until clients had the chance to update.

 If you have more time to think about this, I'd be curious what you think
 about the modified idea 1 (consolidate document types) and yet unmodified
 idea 2 (consolidate parameters) above. :)

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/25274#comment:3>
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