How many products can I synchronize? What is the limit and how does the cron job work (mathematically)?

How many products can the plugin synchronize via the crone job feature. I plan to add quite a lot of products and I want to know what is the limit.

This depends only on your server capabilities (hardware and bandwidth).

If you set the recurrence to 24 hours, and 20 products per request and in Cpanel you set the cron job to run every 15 minutes, you will have 24 * 4 (60/15 minutes) * 20 = 1920 products synchronised.

Experience with the number of products per request as you wish, but if you set more products per request, the cron job may crash if the server capabilities its capabilities are not too good (or any limitation is set).

 

 

Update (8.0):

 

Sync process

wwcAmzAff_sync_products_cycle will start a new products sync cycle only after the wwcAmzAff_sync_products has finished to sync all products (this way all products will be synced with priority over sync reccurrence).

Example:

let's say you have 10 000 products and wwcAmzAff_sync_products does 10 products every 2 minutes, then it will take 2 * ( 10 000 / 10 ) = 2 * 1000 = 2000 minutes to sync all amazon products in the database; 2000 minutes = 2000 / 60 ~ 33 hours. and if you reccurrence is set to every day (every 24 hours), then then wwcAmzAff_sync_products_cycle will start a new cycle only after 33 hours, not after 24 hours (because the wwcAmzAff_sync_products didn't finish to sync all products yet - this is what I meant above with priority over sync reccurrence).

wwcAmzAff_sync_products_cycle only verify if the conditions are fulfilled ( conditions: first that wwcAmzAff_sync_products finished sync all products for currenct cycle and second if the reccurrence is fulfilled also ) every 30 minutes and if they are it start a new products cync cycle.