[tor-talk] Shutting down the relay-search service by the end of the year

Karsten Loesing karsten at torproject.org
Thu Jan 9 08:53:14 UTC 2014


On 1/8/14 10:10 PM, Arlo Breault wrote:
> On Wednesday, January 8, 2014 at 1:49 PM, Christian wrote:

Hi Christian, hi Arlo,

replying to both mails inline.

>> On 08.01.2014 08:52, Karsten Loesing wrote:
>>> It seems that most things in Globe could work just fine without
>>> client-side JavaScript. The only problem might be bandwidth and weights
>>> graphs. How does Arlo's version display graphs?
>>  
>> As far as i know it doesn't display the graphs right now.
> Right, they’re currently rendered client-side to a canvas.
> Switching to svgs, as you mention below, would be necessary.

Makes sense.

>>> However, I just looked at Debian's package search page, and there's no
>>> phantomjs in wheezy nor wheezy-backports. That means we probably can't
>>> run it on a Tor machine. :(
>>  
>> Ok. Theoretically we could download the binary (
>> http://phantomjs.org/download.html ) or build it ourself (
>> http://phantomjs.org/build.html ).

If we want to keep our sysadmins happy, we should only use packages in
wheezy or wheezy-backports.

>>> What's the alternative? Use Globe's current codebase and turn it into
>>> something that runs in nodejs, which is contained in wheezy-backports?
>>  
>> That's what I'm currently working on. As of now, only bridge details and
>> graphs aren't completly ported.

Cool!

> Sounds like you’re most of the way there.
> 
> I only suggested the phantomjs approach as a means to avoid a rewrite,
> but since you’ve pretty much gone and done it,
> we’re probably better off focussing on that.

I agree with Arlo.

> Let me know if there’s anything I can help with.

Thanks, Arlo!

>> If you think if it's better to use Arlos approach I can try to change
>> the current globe to make it more useable via phantomjs.
>>  
>> Btw because we can't provide interactive graphs without JavaScript I'm
>> building an API that uses d3js (like atlas and earlier versions of
>> globe), renders the graphs serverside as SVG and returns them.
>> This way users can link and embed SVGs for specific fingerprints using a
>> simple url ( like globe.torproject.org/relay/bandwidth/:fingerprint.svg (http://globe.torproject.org/relay/bandwidth/:fingerprint.svg)
>> or something alike).

Sounds great!  Thank you!

All the best,
Karsten



More information about the tor-talk mailing list