docs(phase-0): propose pre-cell performance + security patches#72
Draft
aleid1 wants to merge 1 commit into
Draft
docs(phase-0): propose pre-cell performance + security patches#72aleid1 wants to merge 1 commit into
aleid1 wants to merge 1 commit into
Conversation
No code change. Adds docs/phase-0-patches-proposal.md with five Django write-path patches and one AWS key rotation, each independent, flagged, and reversible. Meant as the review unit before real code PRs land. Full specs and Python snippets live in github.com/nelc/openedx-2.0 under django-patches/.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Proposes five Django write-path patches + one AWS credential rotation that should ship before any cell-based sharding work. All independent, all feature-flagged, all reversible.
What this PR is
docs/phase-0-patches-proposal.md— one proposal doc. Nothing else.What it is not
Why
Study in
nelc/openedx-2.0identified five Django-level write patterns as the root cause of MySQL contention we see onmoe.futurex.saand a plaintext AWS key inedx-platform-strains/teak/nelp/config.yml. The proposal doc names exact files, exact flags, exact rollback for each.Patches proposed
auth_user.last_loginto RedisBlockCompletion.submit_completioneox_nelplikedislikeunit 404-storm fixCONN_MAX_AGE=60+CONN_HEALTH_CHECKS=Trueeox-nelpsignal tasks toevent_routingqueueedx-platform-strainsOrdering and verification commands are in the doc.
Test plan
Related