DynamoFS icon indicating copy to clipboard operation
DynamoFS copied to clipboard

Cache some records

Open denismo opened this issue 12 years ago • 1 comments

It is obvious from the logs that Fuse performs some operations several times in a row. For example, getattr is called multiple times for the same file.

This presents significant opportunities for optimisation by caching, especially for any simple records like directory or file descriptor (but not data).

denismo avatar Aug 01 '13 13:08 denismo

https://github.com/stucchio/Python-LRU-cache https://github.com/jlhutch/pylru https://github.com/repoze/repoze.lru

denismo avatar Aug 01 '13 14:08 denismo