• This plugin is the single-biggest load on our network. Average response times from the requests are near 2 seconds.

    Very poor performance.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Hector Cabrera

    (@hcabrera)

    If you had followed the installation instructions, you’d know there are ways to mitigate the impact on the server.

    Thread Starter dsifford

    (@dsifford)

    Hi Hector,

    Thanks for the kind response. I did follow your instructions. Caching is enabled, yet the load times are still in excess of 1.7-2.0 seconds.

    Network usage is not ideal. Upload your code to github and I’ll work on a PR if I get some spare time.

    Plugin Author Hector Cabrera

    (@hcabrera)

    Assuming the site in question is a high-traffic one, Data Sampling would have a better effect on performance. Caching alone might not be enough under some circumstances.

    And yep, WPP does have a repo at GitHub. Here’s the link: https://github.com/cabrerahector/wordpress-popular-posts/

    Thread Starter dsifford

    (@dsifford)

    Cool, thanks for the link.

    Traffic is ~medium. But the people tracking numbers want exacts so sampling won’t be an option unfortunately.

    Is there some inherent reason why this plugin cant grab Google Analytics numbers?

    Plugin Author Hector Cabrera

    (@hcabrera)

    Last time I checked, integration with GA would require having the user generate an API key so WPP can use it to get data from GA. For you and me that’s a trivial task since we both have some coding experience and aren’t afraid of interacting with APIs and stuff, however for a regular user that might not be so simple. This is one of the main reasons why WPP stores its own data instead of relying on external services.

    Still, you should try using data sampling. If the traffic isn’t that big, you could set the rate value to something like 5 (or even lower) and check how the site performs for a few days.

    Thread Starter dsifford

    (@dsifford)

    Hm.. Let me fork your repo and play around and maybe I’ll come up with something.

    I think adding an option for GA wouldn’t be a terrible idea (default to how it currently runs, but opt-in for GA).

    If I come up with something halfway decent, you should see a PR within the next couple weeks (as time allows).

    I’ll update my review once this is fixed.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Network hog’ is closed to new replies.