generated from NOAA-OWP/owp-open-source-project-template
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #691 from NOAA-OWP/viz-rds-parameter-group-tuning
- Upgraded viz-processing RDS Instance Type from "db.m5.2xlarge" to "db.m5.4xlarge". - Adjusted various parameters in RDS Parameter group for viz-processing RDS Instance to better optimize memory usage. - Added concurrency limit to the "Input Data Files" step of the viz processing pipeline Step Function. - Updated all Lambda Functions and Viz Lambda Layer to better utilize and dispose of RDS database connections. - Updated all instances of DB connections and cursors to use context managers. - Explicitly closed all DB connections after they are no longer used. - Removed unneeded .commit() calls. - Removed any redundant and unused DB connections. - Temporarily commented out the coastal services in the initialize pipeline Lambda function to stop them from updating. - Fixed S3 Object downloading issue in hand fim processing Lambda by changing it to stream directly from the bucket and added retries for when it occasionally failed.
- Loading branch information
Showing
30 changed files
with
362 additions
and
312 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,5 @@ geopandas==0.11.1 | |
SQLAlchemy==1.4.40 | ||
GeoAlchemy2==0.12.3 | ||
psycopg2-binary==2.9.3 | ||
pandas==2.1.4 | ||
awswrangler |
This file contains 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
This file contains 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
Oops, something went wrong.