[Rt-devel] Performance 3.4.1, quick advice sought

Stephen Turner sturner at MIT.EDU
Wed Feb 23 14:29:09 EST 2005


At Tuesday 2/22/2005 04:17 PM, Jesse Vincent wrote:

> > > I do wonder if you folks have granted "Everyone" the right to OwnTicket.
>I think you want to grant those rights to privileged users and give
>everyone ownly create ticket, comment on ticket, reply to ticket.
>
>Everyone means your end-users too.

This component (the owner drop-down) has been a problem for us at MIT too 
(30s to display the search page and the bulk ticket update page). We do 
have many potential owners of tickets - there are many groups using RT to 
field help requests. It seems like the component doesn't scale too well.

One thing I noticed is that SelectOwner sorts the collection of User 
objects by name after it has retrieved it - in my command-line tests, this 
more than doubles the time for the SelectOwner logic - the sort seems 
unnecessary though, as the collection (by default) is already sorted by 
name. Removing the sort certainly speeds things up a bit and gives the same 
result.

Another question too, about this line on the search page. The SelectOwner 
component is attached to the line which begins with a drop down containing 
"Owner", "Creator" and "LastUpdatedBy". So is it appropriate to show a list 
of potential owners, if the user may want to do a query on Creator? 
Mightn't there be potential ticket creators who don't have OwnTicket 
privileges?

Steve 



More information about the Rt-devel mailing list