Brotli compression of 9p filesystem #776
krishenriksen
started this conversation in
Ideas
Replies: 1 comment
|
Note that http can transparently use brotli, e.g. https://github.com/google/ngx_brotli If you pass the wasm object to the filesystem you could also use zstd. I did so recently for partfiles, and would also like to do this for the filesystem: df1a712 |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Managed to get
ubuntu-9p-rootfs-flatbased on Ubuntu 16.04 down to only 66.7 MB, while having state be 24.6 MBThis is due to compressing the 9p filesystem using Brotli, with the following changes in
browser/filestorage.jsglobalThis.BrotliDecode is derived from the attached script.
brotli_decode.js.zip
The build.sh is as follows
All reactions