• My site has over 50k products and I have separate feeds for each main category. My concern is that when I first generated the feeds it really slowed my site down to the point where it’s unacceptable.

    The issue is complicated further when noting that my products (maybe 10%) are updated every morning. This means I probably should clear the cache before generating feeds and ideally I take advantage of the feature that indicates “only update feed when products are updated”. This feature would be awesome but unless I am missing something it doesn’t seem to work when products are being updated via the API. Thoughts?

    Looping back to my initial concern I can only anticipate that when my product data is updated and the feeds do get generated, I am afraid that the cron would kick-off for 10 feeds (later many more) and render my site inoperable.

    Any thoughts on this problem and very much welcome.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi,

    Thanks for using our plugin and reaching out to us.

    This feature would be awesome but unless I am missing something it doesn’t seem to work when products are being updated via the API.

    –> Your assumption is correct, the plugin “only” detects manual changes to products or manually created products. It cannot pick-up on products that are being added using the API unfortunately.

    In order to use less server resources when updating feeds you can also lower the batch size of the plugin so it uses less products per batch. The default batch size is 750 products. Try lowering it 300 or so. Bear in mind that lowering the batch size will negatively effect the speed of which a feed is being updated. Please see this blog post on how to lower the batch size: https://adtribes.io/batch-size-configuration-product-feed/

    Thread Starter deandid

    (@lcm404)

    Is there any way to specify the time that the regeneration of the feed can be kicked off?

    Also, I am looking for a solution. Essentially, but please correct me if I am wrong here, we are dealing with the same issue explained here where the save_post isn’t called when only inventory and stock numbers are updated.

    In regards to turning down the batch size: what I am seeing is that the memory is being utilized by this plugin. Will turning down the batch size result in

    Also, say that products from each of my 10 feeds get updated in the morning…does this mean that all 10 of my feeds will be generated at the same time? Im afraid this will crash my server but hoping they get kicked off one at a time.

    Thread Starter deandid

    (@lcm404)

    Is there any way to specify the time that the regeneration of the feed can be kicked off?

    –> without making changes to the PHP code of the plugin there is not unfortunately

    Also, say that products from each of my 10 feeds get updated in the morning…does this mean that all 10 of my feeds will be generated at the same time? Im afraid this will crash my server but hoping they get kicked off one at a time.

    –> yes that is correct, they will start updating all at once so in that case lowering the batch size will reduce the load on your website

    Thread Starter deandid

    (@lcm404)

    –> without making changes to the PHP code of the plugin there is not unfortunately

    Is there any reason why something explained here wouldn’t work:

    https://wordpress.org/support/topic/does-the-rest-api-trigger-save_post-or-not/

    –> yes that is correct, they will start updating all at once so in that case lowering the batch size will reduce the load on your website

    Does lowering the batch size lower it in aggregate? In other words, if I set the batch size to 200 does that mean that its batches of 200 or is it 200 x the number of active feeds that I have?

    Is there any reason why something explained here wouldn’t work:
    https://wordpress.org/support/topic/does-the-rest-api-trigger-save_post-or-not/

    –> as that would require our plugin code to be refactored big time

    In other words, if I set the batch size to 200 does that mean that its batches of 200 or is it 200 x the number of active feeds that I have?

    –> It means that the plugin will process 200 products per feed per batch instead of 750 products per feed per batch. So if you have 10 feeds it is the difference between processing 7500 products per batch or 2000 products per batch

    Thread Starter deandid

    (@lcm404)

    Oh my, this is a performance nightmare in that case. I am paying for a premium account at one of the top hosting companies as well and yeah it will move any server to a crawl if something like this is kicked off. Seems like this is designed for people with very small websites/few feeds.

    I was worried about this. Really strange that this thing seems so heavy. For example, with my ten feeds, they all take about the same amount of time to generate which is odd because some of the feeds have thousands of products and others only have a couple hundred. This results in a feed that only has 170 products to seemingly taking way longer than it should.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Performance Recommendations?’ is closed to new replies.