Skip to content

Manually compress data if acceptable by client and periodically flush…#32

Merged
apcarp merged 1 commit into
mainfrom
mysampler-gzip
May 22, 2026
Merged

Manually compress data if acceptable by client and periodically flush…#32
apcarp merged 1 commit into
mainfrom
mysampler-gzip

Conversation

@apcarp
Copy link
Copy Markdown
Contributor

@apcarp apcarp commented May 22, 2026

Addresses #31.

This removes the compression responsibility from the Tomcat connector via use of vnd+json mime type. Periodically flushing the output stream keeps the compression buffer from taking too long to flush and hitting a timeout when a constant data stream is being sampled from.

… it.

This removes the compression responsibility from the Tomcat connector via use of vnd+json mime type.  Periodically flushing the output stream keeps the compression buffer from taking too long to flush and hitting a timeout when a constant data stream is being sampled from.
@apcarp apcarp merged commit 47fb628 into main May 22, 2026
2 checks passed
@apcarp apcarp deleted the mysampler-gzip branch May 22, 2026 13:52
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.

1 participant