Conversation
Signed-off-by: Charles Graham, SWT <charles.r.graham@usace.army.mil>
Signed-off-by: Charles Graham, SWT <charles.r.graham@usace.army.mil>
1 task
Contributor
Author
|
Closing this as it was submitted to provide some ideas and brainstorm |
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
Remove successful
cwms_env.set_session_user_directlogging from pooled connection setup, retaining the WEB_USER check, identity/office reset, read-only reset, and unauthorized-attempt logging.Companion CDA PR: USACE/cwms-data-api#1956. Mike's overlapping #230 removes the logging helper and changes failure reporting as well; this narrower variant remains here as the tested comparison, and can be replaced by his change after validation.
Related to USACE/cwms-data-api#1955: these measurements inform the investigation of pool sizing and isolation for short- and long-running requests.
Performance and resources
Part of an exhaustive local performance pass across CDA and Oracle. Five fresh sessions per phase, logging on/off/on, 20 setup calls per session:
Re-enabling logging returned PGA used to 11.80 MiB and repeated setup to 7.27 ms. The reported eight-second stall did not reproduce locally.
For review: @MikeNeilson.
Validation
The fixture package compiled; 300 identity checks and 150 no-office read-only resets passed. The probe disabled only the successful log call; this patch also removes its unused message construction. Combined HTTP results and reproducible harness are in the companion CDA PR. Full database utPLSQL suite and production/RDS qualification remain outstanding.