Re: Caching user and auth data

2010-11-18 Thread Joe Kondel
2010 at 12:57 AM, Jani Tiainen wrote: > Approach 2 seems to be something what I used in magical J2EE world and > where > this kind of a caching was natural. > > Any hints or links how to proceed or do I need to reinvent the wheel by > myself? > > -- > > Jani Tiainen >

Re: Caching user and auth data

2010-11-17 Thread Joe Kondel
I would second Russ' memcached recommendation. We use custom authorization modules that do some obj level lookups in addition to some other ACL type stuff. We've cut down seriously on the amount of DB hits by: 1- Caching a lot of the more static type of authorization rulesets ( the ACLs ) 2- Usin