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

uploads: update compression to zstd #53

Merged
merged 2 commits into from
Sep 3, 2024
Merged

Conversation

Gandem
Copy link
Member

@Gandem Gandem commented Aug 29, 2024

Update compression to zstd for profile and symbol upload with the goal of reducing network traffic.

Since we're sending a multi-part attachment with a small event (metadata) and a large file (pprof/symbols), with our current backend implementation, it's preferable to only compress the large payload to reduce costs.

However, since handling a compressed file is only supported for profiles and not symbols, we:

  • Compress the pprof file in zstd (previously gzip) for profiles.
  • Compress the whole HTTP payload for symbols in zstd (previously gzip).

@DataDog/profiling-full-host

https://datadoghq.atlassian.net/browse/PROF-10408

@Gandem Gandem force-pushed the nayef/update-compression branch 4 times, most recently from 56d395b to 8d0a5c4 Compare August 30, 2024 12:53
@Gandem Gandem changed the base branch from main to nayef/fix-ci August 30, 2024 12:55
@Gandem Gandem marked this pull request as ready for review August 30, 2024 12:56
@Gandem Gandem requested a review from a team as a code owner August 30, 2024 12:56
Copy link
Member

@felixge felixge left a comment

Choose a reason for hiding this comment

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

Code LGTM 🙇 . Did you test it against our intake?

Base automatically changed from nayef/fix-ci to main September 3, 2024 06:47
@Gandem
Copy link
Member Author

Gandem commented Sep 3, 2024

Did you test it against our intake?

Yes, profiles are available in the UI, and the intake is forwarding them as is (as shown by the zstd_no_op tag):
image

@Gandem Gandem merged commit e3b78a1 into main Sep 3, 2024
15 checks passed
@Gandem Gandem deleted the nayef/update-compression branch September 3, 2024 10:33
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.

3 participants