Server overload

Home Forums AdRotate for WordPress General Support Server overload

  • #130572

    M.W.
    Badges:

    Our server does about 150k page hits per day. (roughly 4 million per month).

    After enabling AdRotate Pro I see an explosion of load on the server, leading to a tsunami of Server Errors and pages not being served.

    The problem seems to be 2 requests to wp-admin/ajax per page request.

    adrotate_impressions is sending the ajax request.

    Is there a way to disable these ajax requests? It would be much better to request a pixel or so, but these ajax requests are way too many and they’re killing the server.

    #130575

    M.W.
    Badges:

    So I tested by DISABLING the dynamic modus in group settings. As far as I can see there are no ajax requests anymore. I assume the dynamic mode is only suitable for non high traffic sites, unless you have ‘unlimited’ resources.

    So, it’s important to know that the dynamic mode will put a higher load on your server.

    #130615

    Arnan de Gans
    Badges:

    150k per day is excessive ๐Ÿ™ƒ

    If your hosting canโ€™t keep up with stats collection, mainly in dynamic groups (which is where admin-ajax is used in AdRotate).
    Try to use less Dynamic groups.
    Or, if that doesn’t help – Consider moving stats elsewhere.

    You can also track your stats in Matomo or Google Analytics:
    https://ajdg.solutions/support/adrotate-manuals/matomo-analytics/
    https://ajdg.solutions/support/adrotate-manuals/google-analytics/
    Personally I prefer Matomo over Google, itโ€™s more private and it has a much easier dashboard.

    #130624

    M.W.
    Badges:

    Hi Arnan,

    It’s a news website and it attracts lots of people. If you’re interested where your plugin runs: http://www.ninefornews.nl.

    Currently running only 1 ad group in the header. More will follow soon.

    I checked out Matomo, but their pricing is too high. With our traffic, we will need to pay 1190 EURO per month, just for tracking ads. There’s absolutely nothing wrong with making money, but I think this is over the top. So we’re not going to use Matomo.

    On the other hand, we are already using Google Analytics. So maybe we can offload the server and move the ad tracking to GA as well.

    For now I have disabled all dynamic groups. So let’s see how this performs, otherwise we’ll move to GA for ad tracking.

    Thanks for the suggestions.

    #130625

    M.W.
    Badges:

    And when we start using Google Analytics for ad tracking, does a dynamic group still use admin-ajax?

    #130631

    Arnan de Gans
    Badges:

    Naaah, just host your own Matomo setup, it’s free – https://matomo.org/matomo-on-premise/ ๐Ÿ™‚
    Their pricing, and that of similar software is insane.
    I even have a plugin to set up their tracker (also free) – https://ajdg.solutions/product/matomo-analytics-for-wordpress/

    But Google Analytics will work fine too, you just don’t have control or ownership over the collected data.

    Anyway, no, admin-ajax is only used for local tracking. Any scripts and gimmicks required to use Google or Matomo are on their/it’s end using their standard event tracker API so you should not notice that.
    For instance; I use Matomo on a separate VPS without performance impact on my sites and I track about 1-2 million requests per month with it on a basic(ish) set up.

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

You must be logged in to reply to this topic.

You may be interested in