Subject: Grouper Users - Open Discussion List
RE: Getting stale group attributes with getGrouperPrivilegesLiteWs
- From: Chris Hyzer <>
- To: Paul Gazda <>, "" <>
- Subject: RE: Getting stale group attributes with getGrouperPrivilegesLiteWs
- Date: Mon, 31 Aug 2009 15:41:43 -0400
- Accept-language: en-US
- Acceptlanguage: en-US
There is caching in Grouper which will not update right away for changes like this.
This particular cache I believe is in grouper.ehcache.xml:
I think you will see after 2 minutes, the group will be updated. Right now, if you want values right away, you will need to change that 120 to something smaller.
If there is a cluster of WS servers, then Im not sure how we can get around this. If you have one server, then we should be able to see where groups are being used in all caches, and update them (though this will not be trivial). Another option is a flag to the WS which says “don’t read from cache”. This would be for UIs and things where someone changed something and they want to see the changes… in this particular case, the “Group” object being cached I would think should be kept in a central place in memory so it is easy to change. Right now various objects are stored in a bunch of caches… of course memcache could help, several people have mentioned that before.
If anyone has other suggestions here let us know.
- Getting stale group attributes with getGrouperPrivilegesLiteWs, Paul Gazda, 08/31/2009
- RE: Getting stale group attributes with getGrouperPrivilegesLiteWs, Chris Hyzer, 08/31/2009
Archive powered by MHonArc 2.6.16.