Use Role, Permission and Group objects as parameters instead of String, and Turbine should be faster.
LoÃc On Fri, 2004-03-05 at 16:50, Edmund Urbani wrote: > Hi! > > I was trying to speed up my webapp, so I let torque log all the sql > queries (log level "debug") to identify the performance bottleneck(s). > It seems I am getting a huge amount of queries on the TURBINE_ROLE, > TURBINE_PERMISSION and TURBINE_GROUP tables for every single http > request. I have lots of hasRole(..), hasPermission(..) calls to the > AccessControllList which appear to be causing this. Is there a way to > make the ACL/TorqueSecurityService keep/cache more data in memory? > > I am going to look deeper into this. Maybe I will end up writing my own > subclass of the TorqueSecurityService, that does have some options for > caching... (or has anyone done that already?) > > Edmund > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
