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

UserCountry plugin slows down bulk tracking by performing DNS reverse lookups even if not allowed or possible #17034

Open
lukele opened this issue Dec 31, 2020 · 0 comments
Labels
c: Performance For when we could improve the performance / speed of Matomo.

Comments

@lukele
Copy link

lukele commented Dec 31, 2020

The UserCountry does not respect the dp=1 query parameter and performs a reverse lookup to determine the country by provider information regardless.

This adds 0.4s to each hit in my case.

In addition the reverse DNS lookup is also performed if the IP is anonymized.

A pull request fixing both problems is linked below:
#17033

@tsteur tsteur added the c: Performance For when we could improve the performance / speed of Matomo. label Jan 1, 2021
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