Title: Network hog
Last modified: September 3, 2016

---

# Network hog

 *  [dsifford](https://wordpress.org/support/users/dsifford/)
 * (@dsifford)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/network-hog/)
 * 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](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/network-hog/#post-8070941)
 * If you had followed the [installation instructions](https://wordpress.org/plugins/wordpress-popular-posts/installation/),
   you’d know there are ways to mitigate the impact on the server.
 *  Thread Starter [dsifford](https://wordpress.org/support/users/dsifford/)
 * (@dsifford)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/network-hog/#post-8070942)
 * 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](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/network-hog/#post-8070943)
 * Assuming the site in question is a high-traffic one, [Data Sampling](https://github.com/cabrerahector/wordpress-popular-posts/wiki/7.-Performance#data-sampling)
   would have a better effect on performance. [Caching](https://github.com/cabrerahector/wordpress-popular-posts/wiki/7.-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/](https://github.com/cabrerahector/wordpress-popular-posts/)
 *  Thread Starter [dsifford](https://wordpress.org/support/users/dsifford/)
 * (@dsifford)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/network-hog/#post-8070944)
 * 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](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/network-hog/#post-8070947)
 * 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](https://wordpress.org/support/users/dsifford/)
 * (@dsifford)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/network-hog/#post-8070948)
 * 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.

 * ![](https://ps.w.org/wordpress-popular-posts/assets/icon-256x256.png?rev=1232659)
 * [WP Popular Posts](https://wordpress.org/plugins/wordpress-popular-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-popular-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-popular-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-popular-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-popular-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-popular-posts/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [dsifford](https://wordpress.org/support/users/dsifford/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/network-hog/#post-8070948)