[rt-users] REST vs GUI: huge performance diference
Thomas Sibley
trs at bestpractical.com
Tue Jun 11 17:10:56 EDT 2013
On 06/11/2013 01:42 PM, Ram wrote:
> Hey folks. I'm using rt 4.02 via REST and I noticed a surprising
> difference in performance between using the RT web GUI where a certain
> query takes less than one second and the RT command line where the same
> query takes close to four seconds.
>
> rt ls 'requestor=someuser at example.com <mailto:someuser at example.com>'
> (takes 3+ seconds)
> rt web UI quick search for someuser at example.com
> <mailto:someuser at example.com> (takes < 1 second)
>
> That user has 133 tickets. If I do this for a user with 6 tickets then
> both methods are essentially instant.
>
> What's going on here?
Allow me to paste from #rt:
14:00 <@trs> ram: the quick search on the web automatically limits to active
statuses.
14:00 <@trs> ram: `rt ls` doesn't if you specify a query
14:00 <@trs> try `rt ls 'requestor=someuser at example.com and (status=new or
status=open or status=stalled)'`
14:00 <@trs> or similar
Please wait a reasonable time for a response before asking in multiple mediums.
More information about the rt-users
mailing list