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

Do size comparison after gzip #9

Open
michaeleiselsc opened this issue Feb 22, 2017 · 1 comment
Open

Do size comparison after gzip #9

michaeleiselsc opened this issue Feb 22, 2017 · 1 comment

Comments

@michaeleiselsc
Copy link

For anyone thinking about these formats for client-server communication, they will want to know what the size of them is after gzipping or applying other forms of compression. It can be very surprising - JSON can beat binary formats.

@sburton84
Copy link

This can be especially important for Cap'n Proto, as empty or default fields remain in the data as all zeros, which will then be reduced when packing or compressing. If the packing feature of Cap'n Proto is not being used then it is important to use compression to reduce the size of the output.

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

No branches or pull requests

2 participants