Support

Akeeba Ticket System

#30147 All Ticket Display Slow

Posted in ‘Akeeba Ticket System for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Akeeba Ticket System version
n/a

Latest post by on Sunday, 30 September 2018 17:17 CDT

pauldev
When a user logs in and clicks on the menu item to display all tickets, it takes over a minute for the tickets to display. This includes all open/closed/pending tickets. There are a little over 27000 tickets. Is there a way to make the system respond faster when clicking on All Tickets?

nicholas
Akeeba Staff
Manager
I am not sure what the "all tickets" menu item is configured to do. There is no such thing in ATS. There's either a menu item to show the categories or a menu item to show the tickets inside a category. I will assume it's the latter.

The important factor in the response time is the number of tickets you are displaying at once, i.e. Joomla's default list limit. With the default limit of 20 displaying one page of 20 tickets takes 470 msec on a mid-spec server. If you are trying to display all 27,000 tickets in one insanely long page I would expect PHP to crash due to lack of memory. If you have a really big limit (e.g. 500) you will have a really long delay before anything is displayed.

Remember that in order to display the information for a single ticket we actually have to load both the ticket and its replies. Otherwise we would not know who was the last person to reply to the ticket. Moreover, we have to load the user information for every unique user in the generated page. Otherwise you'd see, for example, that the ticket is created by user 123 and last replied to by user 456 instead of created by user Paul. and last replied to by user Nicholas. These are additional queries which do take up time and memory to execute.

The only thing you can do is limit the amount of information displayed per page. Go to System, Global Configuration, Site Settings and set Default List Limit to 20.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!