ondemand icon indicating copy to clipboard operation
ondemand copied to clipboard

Cluster config ACLs feature is slow

Open ericfranz opened this issue 4 years ago • 2 comments

https://discourse.osc.edu/t/slow-load-times-when-using-acls/1348

User reported a load time of of the interactive sessions page with ACLs enabled taking 34 seconds, vs 1 second. Sounds like the ACL code might be unnecessarily executed multiple times? If we store in memory a cluster object, it should probably cache its "validation" result so future calls just return true or false. This might be an ood_core issue.

┆Issue is synchronized with this Asana task by Unito

ericfranz avatar Mar 03 '21 13:03 ericfranz

I ned to reopen this just to keep it on our radar. I think last we left it was that file permissions are actually a better approach than using our acl library.

At this level, we can start to throw deprecation warnings.

johrstrom avatar Mar 14 '22 19:03 johrstrom