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

Website loading slowly due to Piwik slow reverse DNS query #8785

Closed
triffic-tang opened this Issue Sep 14, 2015 · 4 comments

Comments

Projects
None yet
2 participants
@triffic-tang

triffic-tang commented Sep 14, 2015

Our team do like this great app.

But a stubborn problem occurs to me, when we put the piwik tracking code into the public page, then we are going to open the website, but it's quite slowly, much time spent on this request:

Request URL:http://xxxxxx/piwik.php?action_name=%E5%8D%8E%E5%B3%B0&idsite=2
&rec=1&r=948056&h=21&m=55&s=49&url=http%3A
%2F%2Fxxxxxx%2Fhuafeng%2Fmobile%2Fshare%2Fframe.php%3Ftarget%3DrecentProductsMobile
&urlref=http%3A%2F%2Fxxxxxx%2Fhuafeng%2Fmobile%2Flogin.php&_id=42e41fdb7ffba585&_idts=
1442196139&_idvc=4&_idn=0&_refts=0&_viewts=1442238949&send_image=0&pdf=1&qt=0&realp=0
&wma=0&dir=0&fla=1&java=1&gears=0&ag=0&cookie=1&res=1920x1080&gt_ms=111

Replace the website name with xxxxxx for privacy.

qq20150914-3 2x
10.39s to load the page.

Any idea to optimize it? THX

@mattab

This comment has been minimized.

Show comment
Hide comment
@mattab

mattab Sep 14, 2015

Member

Hi @jerrycave
can you try to disable the Provider plugin, does it improve performance?

Member

mattab commented Sep 14, 2015

Hi @jerrycave
can you try to disable the Provider plugin, does it improve performance?

@triffic-tang

This comment has been minimized.

Show comment
Hide comment
@triffic-tang

triffic-tang Sep 15, 2015

When I disabled the Provider plugin, it does improve the performance. Loading quite fast.

But can you give us some more detail about the reason? Also according to the description of Provider Plugin.

Reports the Internet Service Provider of the visitors.

If I disabled this plugin, anything bad will be happen to piwik? or somehow piwik can't get accurate pv,uv etc any more?

triffic-tang commented Sep 15, 2015

When I disabled the Provider plugin, it does improve the performance. Loading quite fast.

But can you give us some more detail about the reason? Also according to the description of Provider Plugin.

Reports the Internet Service Provider of the visitors.

If I disabled this plugin, anything bad will be happen to piwik? or somehow piwik can't get accurate pv,uv etc any more?

@mattab

This comment has been minimized.

Show comment
Hide comment
@mattab

mattab Sep 20, 2015

Member

The reason is that Provider plugin does a DNS reverse lookup which can be quite slow. Our solution to this problem will be to move the Provider plugin outside of the default Piwik package and move it to the Marketplace. Covered in #5341

Member

mattab commented Sep 20, 2015

The reason is that Provider plugin does a DNS reverse lookup which can be quite slow. Our solution to this problem will be to move the Provider plugin outside of the default Piwik package and move it to the Marketplace. Covered in #5341

@mattab

This comment has been minimized.

Show comment
Hide comment
@mattab

mattab Sep 20, 2015

Member

We will also disable the 'Provider' plugin by default for new Piwik users #8826

Member

mattab commented Sep 20, 2015

We will also disable the 'Provider' plugin by default for new Piwik users #8826

@mattab mattab removed the duplicate label Sep 22, 2015

@mattab mattab changed the title from Website Loading Quite Slowly Due To Piwik to Website loading slowly due to Piwik slow reverse DNS query Sep 22, 2015

@mattab mattab added the Bug label Sep 22, 2015

@mattab mattab added this to the 2.15.0 milestone Sep 22, 2015

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