-
Notifications
You must be signed in to change notification settings - Fork 13
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
Use compression for transfer of JSON #100
Comments
The golang http library already does transparent gzip decompression, so
long as your webserver does it. it will be sent over the wire compressed!
I think that should be enough to allow people to have compressed pulls,
rather than adding logic in place to actively decompress files
…On Tue, 2 May 2023, 08:49 Ties de Kock, ***@***.***> wrote:
The file with validated objects is growing and starting. Depending on the
output style, I see 43MB (current rpki-client output), 57MB (jq or new
rpki-client builds, one attribute per line, no colour, indented), while
compact JSON is ~37M (jq -c).
It compresses pretty well.
Because the client trusts the server (w.r.t. content) I do not think gzip
bombs are an issue. So, as a user, I want the HTTP client should use HTTP
compression when loading the prefixes.
—
Reply to this email directly, view it on GitHub
<#100>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AALPK4WAL7CAZY5SKFSW2EDXEC37ZANCNFSM6AAAAAAXSVUP3A>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The file with validated objects is growing and starting. Depending on the output style, I see 43MB (current rpki-client output), 57MB (jq or new rpki-client builds, one attribute per line, no colour, indented), while compact JSON is ~37M (
jq -c
).It compresses pretty well.
Because the client trusts the server (w.r.t. content) I do not think gzip bombs are an issue. So, as a user, I want the HTTP client should use HTTP compression when loading the prefixes.
The text was updated successfully, but these errors were encountered: