Skip to content

Compress modulefile/modulerc content within modulecache #564

@xdelaruelle

Description

@xdelaruelle

Based on the same situation than described on #XXX with modulepath containing 10 thousands of modulefiles, which produces a cache file of about 7MB.

It may be interesting to see if compressing the content of every files saved in the cache file could help. It could reduce the size of the overall cache file but requires to uncompress data when needing to read modulefile.

An option could be added to configure if modulefile and modulerc content should be compressed when saved to cache to improve cache efficiency.

Prior implementing such option, it should be validated that compressing content is benefical.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions