You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added the ability to separate out reads and writes into their own connection pools. (Netflix#344)
* Changes for using a separate reader pool for Aurora-like use cases
* Avoid some expensive logging operations when not needed
* Refactoring execute_sql implementations and separating reader/writer endpoints
choosing the right pool in execute_sql
* Adding documentation for using separate reader pools
* use [PREFIX]_READ_REPLICA_HOST as a feature gate instead of localhost
* In a previous commit, the detection of a failure became too aggressive.
This remediates this by considering a run 'failed' if the hb hasn't been
updated within heartbeat_cutoff time as opposed to the heartbeat_threshold time
* Patch pjoshi aurora (Netflix#395)
* Upgrade Github actions used in `dockerimage` action (Netflix#379)
* upgrade github actions used in dockerimage action
* remove setup-buildx-action and pin to hashes.
* change deprecated pkg_resources to importlib.metadata (Netflix#387)
* In a previous commit, the detection of a failure became too aggressive. (Netflix#386)
* In a previous commit, the detection of a failure became too aggressive.
This remediates this by considering a run 'failed' if the hb hasn't been
updated within heartbeat_cutoff time as opposed to the heartbeat_threshold time
* change run finished at query to heartbeat_cutoff from threshold
* clean up unused values from run query
---------
Co-authored-by: Sakari Ikonen <[email protected]>
* fix PATH_PREFIX handling in metadata service so it doesn't interfere with mfgui routes (Netflix#388)
* Configurable SSL Connection (Netflix#373)
* [TRIS-297] Configurable SSL Connection (#1)
* Configurable SSL connection
* Update services/utils/__init__.py
* no ssl unit testing (#3)
* ssl seperate test (Netflix#4)
* dsn generator sslmode none (Netflix#5)
* fix run_goose.py not working without SSL mode env variables. (Netflix#390)
* change run inactive cutoff default to 6 minutes. cleanup unused constant (Netflix#392)
* clarify comment on read replica hosts
* make USE_SEPARATE_READER_POOL a boolean
* remove unnecessary conditionals for pool choice in execute_sql
---------
Co-authored-by: Tom Furmston <[email protected]>
Co-authored-by: Romain <[email protected]>
Co-authored-by: Oleg Avdeev <[email protected]>
Co-authored-by: RikishK <[email protected]>
* fix broken connection string after conflict resolve
* make codestyles happy
* fix test cases
* cleanup
* merge run_goose.py from master
* revert unnecessary changes
---------
Co-authored-by: Preetam Joshi <[email protected]>
Co-authored-by: Romain Cledat <[email protected]>
Co-authored-by: Chaoying Wang <[email protected]>
Co-authored-by: Sakari Ikonen <[email protected]>
Co-authored-by: Tom Furmston <[email protected]>
Co-authored-by: Romain <[email protected]>
Co-authored-by: Oleg Avdeev <[email protected]>
Co-authored-by: RikishK <[email protected]>
Co-authored-by: Sakari Ikonen <[email protected]>
Copy file name to clipboardExpand all lines: services/ui_backend_service/docs/environment.md
+25
Original file line number
Diff line number
Diff line change
@@ -186,3 +186,28 @@ The `MF_LOG_LOAD_POLICY` environment variable restricts the amount of log conten
186
186
## Card content restriction
187
187
188
188
The `MF_CARD_LOAD_POLICY` (default `full`) environment variable can be set to `blurb_only` to return a Python code snippet to access card using Metaflow client, instead of loading actual HTML card payload.
189
+
190
+
191
+
## Scaling reads using read replicas
192
+
193
+
Databases such as [Amazon Aurora](https://aws.amazon.com/rds/aurora/) provide
194
+
[read replicas](https://aws.amazon.com/rds/features/read-replicas/) that make it easy to elastically scale beyond
195
+
the capacity constraints of single database instance for heavy read workloads. You are able to separate out the reads
196
+
and the writes of this application by setting the following two environment variables:
0 commit comments