Opened 4 years ago

Closed 4 years ago

#17912 closed task (fixed)

Please install packages for GetTor API in getulum

Reported by: ilv Owned by: tpa
Priority: Very High Milestone:
Component: Internal Services/Tor Sysadmin Team Version:
Severity: Normal Keywords:
Cc: sukhbir, mrphs Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Hello.

Could you please install the following packages on getulum?

python-flask nginx python-openssl uwsgi supervisor

This is needed to deploy the GetTor RESTful API.

Thanks.

Child Tickets

Change History (10)

comment:1 Changed 4 years ago by ilv

Priority: HighVery High

Changing priority. This is needed before end of year (deliverable of contract).

comment:2 Changed 4 years ago by weasel

I'd prefer we don't do nginx. We are an apache shop.

comment:3 Changed 4 years ago by weasel

Also, will this thing be dynamic? why?

comment:4 Changed 4 years ago by ilv

Ok, let's use apache then. In that case, libapache2-mod-wsgi should be installed instead of uwsgi.

The API will provide links to download Tor Browser, which will change during time. It will also provide information related to the latest version of Tor Browser and the list of tpo's mirrors, which will also change during time. I hope that answers your question.

Thanks.

comment:5 Changed 4 years ago by weasel

How often do these change? Every few seconds? Or once in a while?

If we built a static tree, I guess it would be quite small? Then we could properly mirror it and distribute it well instead of hiding it behind a massive spof.

comment:6 in reply to:  5 Changed 4 years ago by ilv

Replying to weasel:

How often do these change? Every few seconds? Or once in a while?


Once in a while.

If we built a static tree, I guess it would be quite small?


It would certainly be quite small, it's a tiny API.

Then we could properly mirror it and distribute it well instead of hiding it behind a massive spof.


I don't think I understand what you mean here. Can you elaborate more, please? Are you suggesting not to use flask?

comment:7 Changed 4 years ago by weasel

Static trees are easy to mirror and put on our static tiny cdn (which we use for deb.tpo and www for instance).

Dynamic trees are impossible to mirror and have single points of failure that make them unreliable.

comment:8 Changed 4 years ago by ilv

Ok, it sounds like we should go for static trees then. What should I do/change to do that?

comment:9 Changed 4 years ago by weasel

Start by making them appear in a filesystem tree on getulum. Ping me when it exists.

comment:10 Changed 4 years ago by weasel

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.