Pluggable Auth Service Ram Cache

Hi,

What can go wrong when completely RAM caching the acl_user folder:
http://localhost:8080/Plone/acl_users/ZCacheable_manage

We are using membrane and LDAP users.

On every hit this is now skipped:


and calles _unrestrictedGetObject on line 185

Regards,

nobody?

Hi Marten,

we are not using membrane, but LDAP users. We do cache the whole acl_users folder for speed. However everytime the users are changed, we have to invalidate memcached accordingly and have had to build a custom step to do this.
Also you need to be sure to not have any custom objects in your users that can't be converted to memcached's dicts.

Otherwise no harm for 3 years now.

Best,
Alex

Hi Alex,

@pilz
Could you provide your invalidate step?

Regards,
Maarten

Hi Maarten,

here is a snippet: http://pastie.org/9544454

Mind we are using pas.plugins.ldap and the invalidate is actually clearing the whole cache, because we can currently not get hands on all affected objects efficiently. Therefore we use a dedicated cache for the user management.

Best,
Alex