Summary | Groups null driver |
Queue | Horde Framework Packages |
Queue Version | HEAD |
Type | Enhancement |
State | Resolved |
Priority | 1. Low |
Owners | chuck (at) horde (dot) org |
Requester | duck (at) obala (dot) net |
Created | 01/27/2008 (6320 days ago) |
Due | |
Updated | 02/07/2008 (6309 days ago) |
Assigned | |
Resolved | 02/06/2008 (6310 days ago) |
Milestone | |
Patch | No |
once we integrated the better-performing sql driver.
100 members, is really big. So all users will have this group in
their session. But they need to know only if they are in this group
or the list of groups they are in. So why we don't cache only this
"end data", not entire objects and recheck them every page load? Will
save some time and a lot of session memory.
info in the session.
just a general rant? And what are you actually saying?
members, is really big. So all users will have this group in their
session. But they need to know only if they are in this group or the
list of groups they are in. So why we don't cache only this "end
data", not entire objects and recheck them every page load? Will save
some time and a lot of session memory.
Assigned to Chuck Hagenbuch
State ⇒ Resolved
fine too, though I agree that the datatree def should move into its
own subclass.
I've committed this as the "mock" driver. Thanks!
just a general rant? And what are you actually saying?
implementation. We normally just check if a user is in specified group
(ex. in perms) or its membership (ex. in shares). So instead of
storing the call results, is being stored all linking groups objects.
That grows fast with large installations making session data bigger
without any special need as other calls are manly if not all
administrative.
State ⇒ Feedback
*feels* more correct to implement the "null functionality" in the base
class and move the datatree code into a separate driver instead.
Besides that, I wonder why we didn't add such a driver earlier. It's
simple enough to even get merged to FW_3, and we can swap the null and
datatree driver in HEAD.
Priority ⇒ 1. Low
State ⇒ New
New Attachment: null.php
Queue ⇒ Horde Framework Packages
Summary ⇒ Groups null driver
Type ⇒ Enhancement
using groups this means additional objects creation, DT SQL queries
and writing of session data. Null driver just returns empty values to
avoid not needed load for sites not using groups.