Navigation Menu

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

Improve all websites dashboard performance #9662

Closed
mgonera opened this issue Jan 29, 2016 · 7 comments
Closed

Improve all websites dashboard performance #9662

mgonera opened this issue Jan 29, 2016 · 7 comments
Labels
c: Performance For when we could improve the performance / speed of Matomo.
Milestone

Comments

@mgonera
Copy link

mgonera commented Jan 29, 2016

All websites dashboard loads without any hassle when fetched for single day or week. It is problematic when you fetch 2 days for example, merging the data lasts for very long and usually does not finish. This occurrence was observed in instance with around 2k websites, this definitely is important for testing purposes.

@tsteur
Copy link
Member

tsteur commented Jan 31, 2016

We've spent lots of time on improving the performance for All Websites and Range dates. Both kinda came to a limit where we can't do much more improvements easily. However, we can always have a look at a XHProf profile to see if there's maybe room for improvements. Can you provide us access to the instance? Ideally with XHProf installed?

What means "very long"? I presume the data was pre-archived right? And browser-archiving is disabled?

@mgonera
Copy link
Author

mgonera commented Feb 1, 2016

@tsteur shall I provide you SSH access to this instance? Is below XHProf what you need?

ROOT => db-2.machine:# apt-cache policy php5-xhprof
php5-xhprof:
Installed: (none)
Candidate: 1:0.9.4-1
dotdeb+php56+7.1
Package pin: 1:0.9.4-1dotdeb+php56+7.1
Version table:
1:0.9.4-1
dotdeb+php56+7.1 1005
500 http://packages.dotdeb.org/ wheezy-php56/all amd64 Packages

@tsteur
Copy link
Member

tsteur commented Feb 1, 2016

Yes ssh access would be great. Yeah it looks like the correct package. Also the extension needs to be activated (in php.ini) in case installer won't do it.

@mattab
Copy link
Member

mattab commented Mar 31, 2016

What means "very long"? I presume the data was pre-archived right? And browser-archiving is disabled?

Hi @mgonera if you still need some help investigating slow All Websites dashboard, please notify Thomas, otherwise I suggest to close this issue.

@mattab mattab added the c: Performance For when we could improve the performance / speed of Matomo. label Mar 31, 2016
@mattab mattab added this to the 2.16.x (LTS) milestone Mar 31, 2016
@mgonera
Copy link
Author

mgonera commented Mar 31, 2016

@mattab the problem persists. All websites dashboard loads fine for single day, but times out when loaded for date range of 2 days, despite these days being archived.

@mattab
Copy link
Member

mattab commented Mar 31, 2016

@tsteur maybe you could investigate this one next week? (I'll ask for server connection details / xhprof)

@tsteur
Copy link
Member

tsteur commented Mar 31, 2016

I can have a look if having a connection to server or xhprof profile of it.

Is the latest Piwik version used?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: Performance For when we could improve the performance / speed of Matomo.
Projects
None yet
Development

No branches or pull requests

3 participants