Skip to content

Enable compression for result JSON on dashboard #9426

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

Open
Kaliumhexacyanoferrat opened this issue Nov 26, 2024 · 5 comments
Open

Enable compression for result JSON on dashboard #9426

Kaliumhexacyanoferrat opened this issue Nov 26, 2024 · 5 comments

Comments

@Kaliumhexacyanoferrat
Copy link
Contributor

The result files loaded by the dashboard are quite large (about 3.5 MiB) and currently not compressed by the server:

image

As JSON is highly compressible, I would expect a great benefit here.

@Kaliumhexacyanoferrat
Copy link
Contributor Author

Ah, found the tfb-status repo, will try a PR there.

@Kaliumhexacyanoferrat
Copy link
Contributor Author

After discussion with @michaelhixson a solution would be to directly serve the results via nginx instead of the Java project, pre-compress the result files and then use gzip_static to serve them compressed.

@joanhey
Copy link
Contributor

joanhey commented May 18, 2025

I understand you, but we are not testing gzip compression, that it's very important.
And for that they want to disable it for any framework.

But actually it's better than a framework use brotli or zst !!!

@joanhey
Copy link
Contributor

joanhey commented May 18, 2025

And yes the result files, it's a place to improve.
But I'll like to be possible to see the errors in the frameworks, without need to wait to finish the run.

@joanhey
Copy link
Contributor

joanhey commented May 18, 2025

Another thing that I saw the last time that fail the status, one week ago, is that the error show nginx/1.25.0
But the headers show clearly that the server is nginx/1.18.0

PD: nginx last version 1.28

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