Skip to content

Ability to send certs compressed so less bandwidth is used #30

Description

@d-Rickyy-b

Currently each "lite" cert is around 1500 bytes in size. That results in ~15 Mbit/s of data being sent over the network per client.

By compressing the data, we should be able to reduce that. An example cert of size 1449 bytes compressed via gzip resulted in 805 bytes. That makes a compression ratio of 1.8 and hence saves about 44.4% of data, resulting in ~8.25 Mbit/s per client.

Raw deflate of the same example cert resulted in a compression to 787 bytes. Making a compression ratio of 1.84 and saves about 45.7% of data, resulting in ~8.15 Mbit/s

Brotli takes us down to 710 bytes. Compression ration: 2.04 and saves about 51% of data, resulting in 7.39 Mbit/s


Still: Adding compression means that there is more workload on the clients to be done, which also means that these could potentially process certs even slower than before. Some testing is necessary before implementing compression into certstream.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions