Skip to content
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

Compress build/bundle files using GZip (or comparable method) #332

Open
JPercival opened this issue Dec 27, 2021 · 0 comments
Open

Compress build/bundle files using GZip (or comparable method) #332

JPercival opened this issue Dec 27, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@JPercival
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
The cqf-tooling produces a number of files as a result of an IG refresh that are quite large. In particular, the bundle directory and supporting directories can multiple GBs. As an example, see the Smart ANC IG. This makes checking out and using the repositories burdensome. Additionally, uploading large JSON files to a FHIR server can be problematic.

Describe the solution you'd like
I'd like the directories and files to be smaller. One way to accomplish this would be to add support for reading/writing GZipped files to the tooling directly so that JSON on disk is always compressed (this would apply to build output only - the source files still need to be human-readable).

In principle a FHIR server configured to accept GZipped content could use these files directly. We wouldn't need to decompress them prior to uploading to the FHIR server.

Describe alternatives you've considered
Another alternative would be to simply delete the duplicate files. This would reduce the on-disk size by around 50%, but we'd still have the issue of uploading large files to a FHIR server.

@JPercival JPercival added the enhancement New feature or request label Dec 27, 2021
@JPercival JPercival changed the title Compress build/bundle files using GZip (comparable method) Compress build/bundle files using GZip (or comparable method) Dec 27, 2021
@c-schuler c-schuler self-assigned this Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants