You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently in the code we fetch poolIDs, FscID each time it is required. This means calling into Ceph multiple times in the case of some requests (say create) or just fetching the same information repeatedly from Ceph across calls.
Instead, the enhancement proposed is to build a cache of pool names and IDs, and similarly for FSNames and it's IDs, for faster lookups.
This would help in quicker response times when creating/deleting PVs and also when mounting the same.
From an acceptance perspective, the solution should improve on existing creation/deletion/mount times of CephCSI across CephFS and RBD plugins.
One caveat to remember is that, as this is a cache, information can go stale. The risk is when a pool or a FSName is deleted and recreated with the same name, and hence its ID on Ceph changes, but this will not be detected by the cache. As a result this may need careful documentation and/or optionally be enabled for service time sensitive workloads.
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in a week if no further activity occurs. Thank you for your contributions.
Currently in the code we fetch poolIDs, FscID each time it is required. This means calling into Ceph multiple times in the case of some requests (say create) or just fetching the same information repeatedly from Ceph across calls.
Instead, the enhancement proposed is to build a cache of pool names and IDs, and similarly for FSNames and it's IDs, for faster lookups.
This would help in quicker response times when creating/deleting PVs and also when mounting the same.
From an acceptance perspective, the solution should improve on existing creation/deletion/mount times of CephCSI across CephFS and RBD plugins.
One caveat to remember is that, as this is a cache, information can go stale. The risk is when a pool or a FSName is deleted and recreated with the same name, and hence its ID on Ceph changes, but this will not be detected by the cache. As a result this may need careful documentation and/or optionally be enabled for service time sensitive workloads.
The text was updated successfully, but these errors were encountered: