[okfn-help] further to load on us0

John Bywater john.bywater at appropriatesoftware.net
Thu Oct 8 20:01:19 UTC 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.

There's now an fairly nice implementation of access control result 
memoization in the repository:
http://knowledgeforge.net/domainmodel/trac/browser/trunk/src/dm/accesscontrol.py

I'm about to release the next version of KForge, so we should probably 
discuss moving to that.

Jb






More information about the okfn-help mailing list