-
Notifications
You must be signed in to change notification settings - Fork 0
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
Reduce complexity of database interactions #423
Comments
Drop the urls and networks tablesThe Advantages:
Disadvantages:
|
Drop the results tableGoing column by column of the
Summary, most columns are solvable, only When we're showing the results list, we're already aggregating information from all the measurements that are part of a result. So going straight to the measurements table could have a slightly performance improvement. Space should increase due to the duplicated information. And some care will be needed to ensure information is coherent (for example, the same descriptor and task origin are used for the same result_id). |
Make the creation of db measurement entries statelessRight now we show the ongoing Measurement inside the Results screen. We would need to drop that feature. Nevertheless, SQLdelight handles well changes in values inside DB rows, and even provides a reactive stream of the row state changes. So this simplification may not gain us much in terms of complexity. |
Reference ooni/probe#2024
Simplifications:
urls
andnetworks
tablesresults
tableThe text was updated successfully, but these errors were encountered: