irods / irods_client_nfsrods

An nfs4j Virtual File System implementation supporting the iRODS Data Grid
BSD 3-Clause "New" or "Revised" License
8 stars 9 forks source link

Investigate ways to improve performance of `InodeToPathMapper` class #192

Open korydraughn opened 8 months ago

korydraughn commented 8 months ago

Investigation

The InodeToPathMapper class uses a single ReadWriteLock to control access to the mappings. While it works correctly, a lot of performance is likely left on the table because modifying the mappings locks the entire data structure. A better solution would allow multiple readers and writers to access the mappings.

Here are some ideas ...