-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BCDA-7980: Implement gzip compression for files stored on EFS (#955)
## 🎫 Ticket https://jira.cms.gov/browse/BCDA-7980 ## 🛠 Changes Instead of attempting to move files, we write a gzip-encoded file to EFS and delete the temporary files after each job key ## ℹ️ Context for reviewers This is the final ticket in the gzip epic, yay! Adds a new environment variable, COMPRESSION_LEVEL, that can be set between 1-9 Files are stored as gzip-encoded content, previous PRs ensure that the /data/ endpoint are content-encoding aware, and can return un-encoded content if requested, while ensuring significant gains for the 90+% of requests that do request gzip-encoded content. ## ✅ Acceptance Validation Smoke tests + unit tests pass. I've also performed manual validation utilizing the dev server. Throughput is as expected. ## 🔒 Security Implications - [ ] This PR adds a new software dependency or dependencies. - [ ] This PR modifies or invalidates one or more of our security controls. - [ ] This PR stores or transmits data that was not stored or transmitted before. - [ ] This PR requires additional review of its security implications for other reasons. If any security implications apply, add Jason Ashbaugh (GitHub username: StewGoin) as a reviewer and do not merge this PR without his approval.
- Loading branch information
1 parent
77ea49d
commit 00cfea4
Showing
2 changed files
with
83 additions
and
9 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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