-
Notifications
You must be signed in to change notification settings - Fork 7
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
docs: Add Production Configuration doc #220
Conversation
69acdb0
to
e0f54a3
Compare
Setting up Ralph | ||
################ | ||
|
||
You can deploy `Ralph via Helm chart`_. If you are using a pipeline that involves the Ralph learning record store (Celery or an event bus), you will want to run at least two Ralph servers for fault tolerance. Generally it consumes few resources and is quite stable. If you find that response times from Ralph are high it is usually because there are too many small ClickHouse inserts and you should turn on batching or increase your batch size. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Once this PR is released, we can implement the HPA
strategy with a single filter. The values can be used similarly to what the official helmChart recommends: https://github.com/openfun/ralph/blob/main/src/helm/ralph/values.yaml#L76-L81
|
||
By default Superset is set to share the Open edX MySQL database and redis servers to save resources. Traditionally services like Aspects are fairly low traffic and this may be acceptable for a production environment, but you may wish to consider setting up separate instances for separation of resources and performance... especially for large sites. | ||
|
||
Superset is a Flask application and can be load balanced if need be. Superset also uses Celery workers for asynchronous tasks. You may wish to run more than one of these, though Aspects does not currently make heavy use of them. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We will add autoscaling here too, in Superset and Superset workers
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a few changes and I've leave some recommendations and updates.
1d23d83
to
2749044
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 This reads well, and covers sufficient info for now. Thanks @bmtcril !
I put some formatting recommendations and fixes for reference links in #223 , feel free to merge if you're happy with them.
- I tested this by reading the rendered docs.
- I read through the code and text
-
I checked for accessibility issuesN/A - Includes documentation
-
User-facing strings are extracted for translationN/A
…ation docs: formatting fixes for Production Deployments
Co-authored-by: Cristhian Garcia <[email protected]>
Co-authored-by: Jillian <[email protected]>
Adds some information about the choices and configuration options for Aspects