Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Come up with plan for getting ooni/data served to end users #1281

Closed
hellais opened this issue Nov 7, 2022 · 2 comments
Closed

Come up with plan for getting ooni/data served to end users #1281

hellais opened this issue Nov 7, 2022 · 2 comments
Assignees
Labels
epic A large user story that needs to be broken down funder/drl2022-2024

Comments

@hellais
Copy link
Member

hellais commented Nov 7, 2022

No description provided.

@hellais hellais added the epic A large user story that needs to be broken down label Nov 7, 2022
@hellais hellais changed the title ooni/data deployed on backend-fsn Come up with plan for getting ooni/data served to end users May 9, 2023
@hellais
Copy link
Member Author

hellais commented Aug 9, 2023

I have started working on an API which is to be implemented inside of ooni/data directly, see: https://github.com/ooni/data/blob/main/oonidata/dataviz/web.py.

I think the best way forward in terms of getting this to end users is that we should either expose the OONI Data host directly or setup a reverse proxy to forward requests from api.ooni.io.

That's because we would like to keep the experimental oonidata codebase running on a separate dedicated machine/database instance to minimise the risk of compromising the production database that is critical path WRT measurement submission.

@FedericoCeratto what are your thoughts on this?

@hellais
Copy link
Member Author

hellais commented Oct 16, 2023

I think we now have a plan for this.

It will entail implementing:

  1. API endpoint that serve OONI/data tables in an way that's compatible with list_measurement: Create list_observations API endpoint data#35
  2. API endpoint which is compatible with the aggregate views Create aggregate_observations endpoints data#36
  3. Add support to OONI Explorer to switch between querying fastpath tables and observation tables
  4. Implement nginx proxy in front of OONI/data to forward requests to api.ooni.io to the oonidata host
  5. Deploy all into prod 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
epic A large user story that needs to be broken down funder/drl2022-2024
Projects
None yet
Development

No branches or pull requests

3 participants