Coder Social home page Coder Social logo

Comments (6)

stephen-soltesz avatar stephen-soltesz commented on September 26, 2024

Hi, @hellais,

I'm happy to create a DFD.

The basic flow follows these steps:

  1. Every machine running the oonib slice on M-lab also has an rsync daemon listening on port 7999.
  2. OONIb writes files to the RSYNCDIR inside the slice filesystem (i.e. /var/spool/mlab_ooni).
  3. Periodically, an M-Lab data harvester tries to read new data from the rsync daemon.
  4. Anything that is downloaded for a given day is stored in cloud storage: https://storage.cloud.google.com/?arg=m-lab#m-lab
  5. If there are scripts available to parse the raw data and translate it into an SQL record, then this runs next on each raw data file.
  6. The "last successful collection time" for the data is recorded. And, a garbage collection script on the nodes removes collected files from the slice's RSYNCDIR.

Best,
Stephen

from probe.

hellais avatar hellais commented on September 26, 2024

@stephen-soltesz Right on! Do you want to create the graph and push a .svg and .pdf version of it and send a pull request here: https://github.com/TheTorProject/ooni-spec/tree/master/diagrams?

from probe.

stephen-soltesz avatar stephen-soltesz commented on September 26, 2024

No problem. Before I do the pull request, does this sample look clear to you?

mlab-ooni-dataflow

from probe.

hellais avatar hellais commented on September 26, 2024

This looks good to me, just send a pull request and I will merge it.

from probe.

stephen-soltesz avatar stephen-soltesz commented on September 26, 2024

Ok. I've sent the above pull request that includes a pdf and svg for the above diagram.

from probe.

hellais avatar hellais commented on September 26, 2024

Thanks I'm going to consider this closed.

from probe.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.