[zfs-devel] Access compressed data directly?
rlaager at wiktel.com
Fri Dec 21 18:51:04 EST 2018
On 12/21/18 5:16 PM, Hans Svensson via zfs-devel wrote:
> As webdeveloper I try to treat R in CRUD as static html. Up to now I
> have used inotify to prezip files to take the load off Nginx and get
> better throughput. Is there a chance something like zfs send -c can
> happen to the file system?
> Perhaps an option
> giving a read-only .zfs/compressed representation of the filesystem
> where compressed files get an extension. It should play well with the
> Nginx try_files directive I think.
> Existing, planned, possible or no-go? Every nanojoule is a
> CO2-equivalent :-)
ZFS compression is per filesystem block, not file-wide. In other words,
it's not the same as pre-compressing the whole file. If pre-compressed
files is what you want (and in this context, it probably is), you should
just keep doing that.
More information about the zfs-devel