[tor-bugs] #21588 [Metrics/Statistics]: Rewrite the censorship detector used by the Tor Metrics website in Java

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Mar 26 10:04:46 UTC 2018


#21588: Rewrite the censorship detector used by the Tor Metrics website in Java
--------------------------------+--------------------------
 Reporter:  karsten             |          Owner:  karsten
     Type:  enhancement         |         Status:  assigned
 Priority:  Medium              |      Milestone:
Component:  Metrics/Statistics  |        Version:
 Severity:  Normal              |     Resolution:
 Keywords:  metrics-2018        |  Actual Points:
Parent ID:                      |         Points:
 Reviewer:                      |        Sponsor:
--------------------------------+--------------------------

Comment (by karsten):

 Hmm, okay, that sounds like we need to choose the least bad solution.

 If we go for calling scipy from Java, let's at least reduce that to a
 single call and not create a Python process for each `norm.fit` call. We
 could write all input data to a file, call Python to fit normal
 distributions and write an output file, and read that in Java. Not pretty,
 but that at least reduces overhead a bit.

 Are there really no native Java libraries that do the same thing?

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/21588#comment:9>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list