WinFsp-MemFs-Extended icon indicating copy to clipboard operation
WinFsp-MemFs-Extended copied to clipboard

Feature Request: Middleware/Plugin system with compression as an example

Open 0x4E69676874466F78 opened this issue 3 years ago • 3 comments

LZ4, ZStandard, LZO?

0x4E69676874466F78 avatar Sep 24 '22 22:09 0x4E69676874466F78

I probably won't add compression, but maybe somebody will create a pull request for it, possibly with an extendable middleware support, i.e. being able to hook the read/write and file information functions of memefs.

What you can do at the moment, is to use other filesystems that can be mounted, which act as compressing proxies. For example, you could use RClone to setup a local filesystem remote and a compress filesystem remote, which you can then mount (also uses WinFsp internally). Keep in mind that RClone only supports gzip, which is slower than the algorithms you have suggested

Ceiridge avatar Sep 24 '22 23:09 Ceiridge

Okay, thanks for answer.

0x4E69676874466F78 avatar Sep 24 '22 23:09 0x4E69676874466F78

I will leave this issue open, because then the feature request stays visible and although I don't expect it, maybe it will motivate someone to add it. Especially a middleware system would be great, which would allow for easy extensibility with an easy-to-use API. Maybe I will add this in the future and then it would be very easy to also add a compression middleware/plugin.

Ceiridge avatar Sep 24 '22 23:09 Ceiridge