Repository navigation
Conversation
hellais
commented
Sep 21, 2022
Member
- Switch to using mashumaro and orjson for parsing raw measurements and validating/generating the dataclasses, which gives a ~30x performance boost (see: https://github.com/hellais/oonidata-bench)
- Consume the measurements from the cans instead of the public JSONL files so as to preserve a valid measurement_uid and avoid producing duplicate measurements (Duplicate data present in some s3 buckets backend#613)
- Make the API for iterating over measurements better
- Add more precise progress bar
- Where possible, yield the measurements while streaming instead of having to decompress and keep the whole can in memory
- Make the API interface a bit more ergonomic to make it faster to use in live environments like jupyter
- Native support for parallel processing of measurements
- Several bug fixes to the parsers and dataformats by having more strict checks on the consistency of data
- Add support for extracting more metadata related to resolver information
- Nicer API for generating observations directly from a parsed base measurement
* dnscheck: Improvements based on feedback from @bassosimone
…servations * 'more-observations' of github.com:ooni/data:
* Don't lookup the metadata of bogon IPs or non IP DNS answers
* Fix tests for netinfodb * Update create tables * Improvements to the oonidata processing logic * Add historical-geoip submodule for testing netinfodb * Add timestamp and observation_id to nettest observations * Update create_tables script * Make torinfo optional * Add support for passing in a country code * black format * Add fast fail argument * Write fail log to file Co-authored-by: Simone Basso <bassosimone@gmail.com>
* Use report_id instead of session_id * Add input to base observation * Extract richer resolver metadata * Add function for generating observations given a WebConnectivity measurement
* Improve ergonomics of CLI arguments * Don't parallise on CSV generation * Use observation generator for web_connectivity
This has been moved over here: https://github.com/hellais/oonidata-bench
Member
Author
|
I am moving forward with self merging this so I can work on a integrating the new historical-geoip DB |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.