IKSG / nsf-file-server

SFTP server backed by an NSF
Apache License 2.0
3 stars 0 forks source link

Add internal NSF caching #25

Closed jesse-gallagher closed 4 years ago

jesse-gallagher commented 4 years ago

This will end up related to the various access-related issues:

The SFTP server hits filesystem methods very frequently (e.g. four hits to readAttributes when selecting a file in Transmit), and so it'll be critical to add caching.

When implementing, it'll be important to ensure that the cache is invalidated properly. Going the route of checking the DB modification time will likely suffice, since it's quick enough.