-
Notifications
You must be signed in to change notification settings - Fork 2
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
feat: use etags for caching to avoid backend/db load when idle #2731
Commits on Sep 12, 2024
-
feat: add table_update_tracker tracking last change per table
co-authored with @anna-parker and Claude Sonnet
Configuration menu - View commit details
-
Copy full SHA for 482159b - Browse repository at this point
Copy the full SHA 482159bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ae5753f - Browse repository at this point
Copy the full SHA ae5753fView commit details -
Configuration menu - View commit details
-
Copy full SHA for ac7a7f5 - Browse repository at this point
Copy the full SHA ac7a7f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d3816f - Browse repository at this point
Copy the full SHA 4d3816fView commit details -
Configuration menu - View commit details
-
Copy full SHA for b244c33 - Browse repository at this point
Copy the full SHA b244c33View commit details -
Change to a conditional update for useNewerProcessingPipelineIfPossib…
…le, add last_updated_db as a view. (#2741) Co-authored-by: Anna (Anya) Parker <50943381+anna-parker@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 2dfbc02 - Browse repository at this point
Copy the full SHA 2dfbc02View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c89e32 - Browse repository at this point
Copy the full SHA 8c89e32View commit details -
Configuration menu - View commit details
-
Copy full SHA for b086bc5 - Browse repository at this point
Copy the full SHA b086bc5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 811b129 - Browse repository at this point
Copy the full SHA 811b129View commit details -
Configuration menu - View commit details
-
Copy full SHA for a1f37ad - Browse repository at this point
Copy the full SHA a1f37adView commit details -
Adjust useNewerProcessingPipelineIfPossible to only update table when…
… there are changes
Configuration menu - View commit details
-
Copy full SHA for 2931c55 - Browse repository at this point
Copy the full SHA 2931c55View commit details -
Table update tracker anya (#2764)
* Add option to get-released-data to check last update time. * make name better * Make or short-circuiting * Only work with table_update_tracker - return lastTime in LAST_MODIFIED header * Remove unused functions * add back missing imports - somehow format removed this??? * Update bash scripts * Attempt to fix bash * 2nd little fix * echo value of last_modified not name * Do not update SILO if loculus responds with 304. * Always echo $lastSnapshot unless new data existed in loculus AND this was successfully sent to LAPIS - then echo $last_modified * save last snapshot to file * Update with loculus data anyways if longer than 1hour since last update * fix * Improve silo import scripts etc * add back BACKEND_BASE_URL * Log headers * Regularize * Better logs * Try to fix error * return 0 and never null in header * Fix read non-existent file bug * Better wrapper logging * fix delete after update snapshot * Make grep case insensitive * add back removed exit 0 * Improvement to logging * Add test * Add full process to test * Update documentation --------- Co-authored-by: Cornelius Roemer <cornelius.roemer@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 453b826 - Browse repository at this point
Copy the full SHA 453b826View commit details -
CR edits to table-update-tracker (#2767)
* Add option to get-released-data to check last update time. * make name better * Make or short-circuiting * Only work with table_update_tracker - return lastTime in LAST_MODIFIED header * Remove unused functions * add back missing imports - somehow format removed this??? * Update bash scripts * Attempt to fix bash * 2nd little fix * echo value of last_modified not name * Do not update SILO if loculus responds with 304. * Always echo $lastSnapshot unless new data existed in loculus AND this was successfully sent to LAPIS - then echo $last_modified * save last snapshot to file * Update with loculus data anyways if longer than 1hour since last update * fix * Improve silo import scripts etc * add back BACKEND_BASE_URL * Log headers * Regularize * Better logs * Try to fix error * return 0 and never null in header * Fix read non-existent file bug * Better wrapper logging * fix delete after update snapshot * Make grep case insensitive * add back removed exit 0 * Improvement to logging * Add test * Add full process to test * Update documentation * Use etag instead of modified-since for spec compliance * ktlin fix * Move logic into model * Fix etag formatting * Fix etag yet again --------- Co-authored-by: Anna (Anya) Parker <50943381+anna-parker@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 4cefe82 - Browse repository at this point
Copy the full SHA 4cefe82View commit details -
Configuration menu - View commit details
-
Copy full SHA for 610751d - Browse repository at this point
Copy the full SHA 610751dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b723e4 - Browse repository at this point
Copy the full SHA 4b723e4View commit details -
Update backend/src/main/kotlin/org/loculus/backend/controller/Submiss…
…ionController.kt Co-authored-by: Fabian Engelniederhammer <92720311+fengelniederhammer@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 08dd1dd - Browse repository at this point
Copy the full SHA 08dd1ddView commit details -
Update backend/src/main/kotlin/org/loculus/backend/controller/Submiss…
…ionController.kt Co-authored-by: Fabian Engelniederhammer <92720311+fengelniederhammer@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for f3ae9a7 - Browse repository at this point
Copy the full SHA f3ae9a7View commit details -
Update backend/src/test/kotlin/org/loculus/backend/controller/submiss…
…ion/GetReleasedDataEndpointTest.kt Co-authored-by: Fabian Engelniederhammer <92720311+fengelniederhammer@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for ef6ca41 - Browse repository at this point
Copy the full SHA ef6ca41View commit details
Commits on Sep 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for ec66ac7 - Browse repository at this point
Copy the full SHA ec66ac7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 42342c3 - Browse repository at this point
Copy the full SHA 42342c3View commit details -
Update backend/src/main/kotlin/org/loculus/backend/service/submission…
…/UpdateTrackerTable.kt Co-authored-by: Fabian Engelniederhammer <92720311+fengelniederhammer@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 697ddeb - Browse repository at this point
Copy the full SHA 697ddebView commit details -
Update backend/src/main/kotlin/org/loculus/backend/service/submission…
…/UpdateTrackerTable.kt Co-authored-by: Fabian Engelniederhammer <92720311+fengelniederhammer@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for a96bf51 - Browse repository at this point
Copy the full SHA a96bf51View commit details -
Update backend/src/main/resources/db/migration/V1.2__add_table_update…
…_tracker.sql Co-authored-by: Fabian Engelniederhammer <92720311+fengelniederhammer@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 9b0ff25 - Browse repository at this point
Copy the full SHA 9b0ff25View commit details -
Configuration menu - View commit details
-
Copy full SHA for 840208e - Browse repository at this point
Copy the full SHA 840208eView commit details -
Update backend/src/main/kotlin/org/loculus/backend/service/submission…
…/SubmissionDatabaseService.kt Co-authored-by: Fabian Engelniederhammer <92720311+fengelniederhammer@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 52f1421 - Browse repository at this point
Copy the full SHA 52f1421View commit details -
Automated backend code formatting
Loculus bot committedSep 16, 2024 Configuration menu - View commit details
-
Copy full SHA for eb5a430 - Browse repository at this point
Copy the full SHA eb5a430View commit details -
Update backend/src/test/kotlin/org/loculus/backend/controller/submiss…
…ion/GetReleasedDataEndpointTest.kt Co-authored-by: Fabian Engelniederhammer <92720311+fengelniederhammer@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 2ec712e - Browse repository at this point
Copy the full SHA 2ec712eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 27760ba - Browse repository at this point
Copy the full SHA 27760baView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f3d044 - Browse repository at this point
Copy the full SHA 8f3d044View commit details
Commits on Sep 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 9268b63 - Browse repository at this point
Copy the full SHA 9268b63View commit details -
Configuration menu - View commit details
-
Copy full SHA for 77a533b - Browse repository at this point
Copy the full SHA 77a533bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 117775e - Browse repository at this point
Copy the full SHA 117775eView commit details -
Make list of tables used by get-released-data etag explicit: RELEASED…
…_DATA_RELATED_TABLES
Configuration menu - View commit details
-
Copy full SHA for 7581f22 - Browse repository at this point
Copy the full SHA 7581f22View commit details -
Configuration menu - View commit details
-
Copy full SHA for ead8bb3 - Browse repository at this point
Copy the full SHA ead8bb3View commit details