[okfn-help] aaa cachine (was Re: further to load on us0)

Martin Keegan martin at no.ucant.org
Thu Oct 8 20:57:31 BST 2009


On Thu, 8 Oct 2009, John Bywater wrote:

> > Anyway, that's a broader issue. What I want to know right now is how hard
> > it is to memoise the result of password lookups into some time-limited
> > cache, so we can reduce the number of calls out to postgres.
> 
> I was thinking about that earlier. It's access control of authenticated 
> sessions, not authentication, that takes time. We need to memoise the 
> results of person-action-object tuples. I'll see what I can do.

Ok, whereabouts in the code is the lookup done?

Mk




More information about the okfn-help mailing list