Skip to content

Add a DCDO flag for testing Puma's out-of-band garbage collection - #51181

Merged
Hamms merged 4 commits into
stagingfrom
add-oobgc_middleware_disabled-flag
Apr 17, 2023
Merged

Add a DCDO flag for testing Puma's out-of-band garbage collection#51181
Hamms merged 4 commits into
stagingfrom
add-oobgc_middleware_disabled-flag

Conversation

@Hamms

@Hamms Hamms commented Apr 6, 2023

Copy link
Copy Markdown
Contributor

Follow-up to #50886 which verified that the unicorn-specific garbage collection logic we had in place isn't actually having an effect on our memory usage. This is checking the generic garbage collection logic which we are currently using with Puma; this test is much more likely to have an effect than the last one, but given how many Ruby updates we've picked up since it was put it place it very well might not.

Deployment strategy

As with the last flag, we should pick a time to flip this flag and closely monitor the impact on frontend server memory usage.

Follow-up work

If it does turn out we don't need this custom garbage collection logic, we should be able to entirely remove our dependency on our custom fork of gctools

@Hamms
Hamms marked this pull request as ready for review April 12, 2023 20:13
@Hamms
Hamms requested a review from a team April 12, 2023 20:13
@cat5inthecradle

Copy link
Copy Markdown
Contributor

Copying from the Warning that's being added to pull request templates soon:

The AP CSP Create Performance Task is in progress from April 1 - May 1 2023. Please
consider any risk introduced by this PR that could affect our students taking AP CSP. Code.org
students taking AP CSP primarily use App Lab for their Create Task, however a small percent use Game
Lab. Carefully consider whether your change has any risk of alterering, changing, or breaking
anything in these two labs. Even small changes, such as a different button color, are considered
significant during this time period. Reach out to the Student Learning team or Curriculum team for
more details.

@Hamms
Hamms merged commit 706038b into staging Apr 17, 2023
@Hamms
Hamms deleted the add-oobgc_middleware_disabled-flag branch April 17, 2023 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants