Skip to content

Conversation

@jbeemster
Copy link
Member

This is a simple PR to test out GZIP compression on a tracker and can be used to validate whether or not it gives sufficient gains to be worth pursuing as a formal integration with the Snowplow Collector.

@coveralls
Copy link

coveralls commented Oct 27, 2023

Coverage Status

coverage: 98.491% (-1.0%) from 99.452% when pulling 8aba726 on gzip-post-compression into 88ca5cf on master.

tracker := sp.InitTracker(
sp.RequireEmitter(emitter),
sp.OptionSubject(subject),
sp.OptionBase64Encode(true),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: just for setting up the experiment, wouldn't the gzip compression be more efficient in case we didn't encode to base 64? I think we lose some potential for compression by using base64 before gzip.

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

Successfully merging this pull request may close these issues.

4 participants