trivrost icon indicating copy to clipboard operation
trivrost copied to clipboard

Support for compressed files in bundles

Open dragetd opened this issue 5 years ago • 2 comments

I did some experiments: Using he default zstd compression on the Windows JREs (each file compressed individually) would give us about 50% (actually 51,7%) compression gain.

We could implement it in a backward-compatible manner by extending the deployment-config format. Or keep it for v2.

Just wanted to leave this idea here.

dragetd avatar Mar 12 '20 11:03 dragetd

HTTP support ZSTD compression. Maybe we should optionally allow this to be handled and set our server to server zstd compressed HTTP stream. The benefit will be smaller, but the implementation - if go supports it - will be transparent.

dragetd avatar Apr 03 '20 11:04 dragetd

Using compression on the server would really help and not require any large changes to trivrost. We need to enable it on the server ( https://docs.nginx.com/nginx/admin-guide/web-server/compression/ ) and us it.

I just do not know how it interferes with our resume mechanism. Something that needs checking.

dragetd avatar Jun 06 '21 13:06 dragetd