• Hey

    I run a very heavy traffic blog style web page (250 pageviews a minute).
    I did some digging around since my dual core xeon cpu is getting hammered and one of the culprits seems to be TPTN being called on every post people visit.

    I’m getting the feeling this is partially the reason for the slowdowns.

    Any tips? Any ways to reduce the amount of updates this plugin makes? Any caching options ?

    Anything that could help would be greatly appreciated!

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Ajay

    (@ajay)

    You should be able to enable the cache within the plugin to help cache the popular posts that you are displaying – it massively reduces the queries that you have when displaying the widget.

    For that tracking, do check out this add on which is still in beta version. You can get it of github and install it on your site. It should massively speed up the tracking of your posts and reduce the load.

    https://webberzone.com/downloads/top-10-fast-tracker/

    Thread Starter michaelsamo

    (@michaelsamo)

    Hey, thanks @ajay for the info, I have tried enabling the caching option but it seems to still be loading the tptn thing on every page and sending admin-ajax requests everytime any page gets loaded…

    • This reply was modified 6 years, 4 months ago by michaelsamo.
    Plugin Author Ajay

    (@ajay)

    Have you had a chance to try the fast tracker add-on?

    Thread Starter michaelsamo

    (@michaelsamo)

    Yes, it is supposed to be active right now. Any idea how I can check if it is actually doing its thing? The website talks about an actual spreadsheet where visits are saved, can I access this somehow ?

    Plugin Author Ajay

    (@ajay)

    Where are you seeing about the spreadsheet? No spreadsheet is generated by Top 10.

    The fast tracker needs to be activated as an add-on and then you need to go to Counter/Tracker tab and then select the tracker type as Fast tracker. This bypasses any admin-ajax calls

    Thread Starter michaelsamo

    (@michaelsamo)

    That is exactly what I did @ajay , just asking if there is anything to double check if its actually doing its thing ??

    Plugin Author Ajay

    (@ajay)

    Sorry I misunderstood. You should hopefully be seeing a lower load.

    You can also check the network view in Google or Firefox Developer tools for calls to Top 10.

    This should have hopefully brought down the load from the previous version as it loads a minimal interface of WordPress

    Thread Starter michaelsamo

    (@michaelsamo)

    @ajay I tried reloading a page in the google network view, its showing me:

    View post on imgur.com

    It used to show a tptn call in the posts url form data, that is gone now.

    Plugin Author Ajay

    (@ajay)

    That’s what should happen. The fast-tracker.js.php should be updating the counts in the database.

    If I’m not mistaken the tptn call would have also been a few 100 ms higher?

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘tptn causing a lot of cpu usage’ is closed to new replies.