Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update availability notification - high latency #23663

Closed
creative-resort opened this issue Jan 25, 2019 · 10 comments
Closed

Update availability notification - high latency #23663

creative-resort opened this issue Jan 25, 2019 · 10 comments

Comments

@creative-resort
Copy link

Steps to reproduce the issue

visit the main Joomla! "Control Panel" page and in the left hand sidebar, look at the Joomla! update status under "maintainence".

Expected result

The update status (at least for Joomla!, optimally also for plugins) should be available immediately or after 3-5 seconds.

Actual result

It takes 16 seconds and more, even on a performant server.

System information (as much as possible)

PHP Built On | Linux dd21204 4.4.0-141-generic #167-Ubuntu SMP Wed Dec 5 10:40:15 UTC 2018 x86_64
Database Type | mysql
Database Version | 5.7.21-nmm1-log
Database Collation | latin1_swedish_ci
Database Connection Collation | utf8mb4_general_ci
PHP Version | 7.1.23-nmm1
Web Server | Apache
WebServer to PHP Interface | fpm-fcgi
Joomla! Version | Joomla! 3.9.2 Stable [ Amani ] 15-January-2019 15:00 GMT
Joomla! Platform Version | Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT
User Agent | Chrome/71.0.3578.98

Additional comments

The status could be pre-cached, especially on a website with high traffic this would make sense.

@ghost
Copy link

ghost commented Mar 3, 2019

can you please test on latest Version?

@creative-resort
Copy link
Author

done,
same story with Joomla! 3.9.3

@ReLater
Copy link
Contributor

ReLater commented Mar 3, 2019

Did you read this thread already? #24066

@ReLater
Copy link
Contributor

ReLater commented Mar 3, 2019

BTW: I can't confirm "16 seconds and more" on a medium performant server.

@ghost
Copy link

ghost commented Mar 4, 2019

@creative-resort can this Issue be closed?

@creative-resort
Copy link
Author

creative-resort commented Mar 5, 2019

Thank you @ReLater.
I've read it and while I understand how the mechanics behind the scenes work,
it doesn't solve the issue.

What is the best way to debug / measure execution times on functions for those ajax calls?

@ghost
Copy link

ghost commented Mar 16, 2019

@ReLater can you please comment?

@HLeithner
Copy link
Member

So I checked our update system and found out that the update cache get purged before we do a update check. I create a PR #24217 to fix this. please test.

Closing this.

@creative-resort
Copy link
Author

Amazing! Thank you!
This is how it's supposed to work. Very quick, now.

@HLeithner
Copy link
Member

@creative-resort thx for your feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants