Creating your Rules are one of the many types of indexing operations. In other words, creating a Rule is one of the processes to store data that is used by our search engine.
Unlike a database table, an index is optimized for search operations. Because of this reason, there are cases where it can take some time to process a load of indexing jobs, and therefore, there could be a delay to create your Rules.
A proven solution to mitigate this issue is to optimize your indexing strategy. During the day, there can be many different kind of indexing jobs that are being sent, for example:
- Creating or deleting products
- Stock is updated
- Description is updated
- Price is updated
- Creating Rules
During traffic peak hours, there will be time-sensitive updates such as stock changes while your users are purchasing products. However, there might also be non time-sensitive updates such as description changes.
If there is a significant load of indexing operations that could wait to be sent out of peak hours, it is very convenient to try scheduling those jobs.
Generally speaking, identifying which jobs needs to be prioritized and sending the non-priority ones out of peak hours should help to process the time-sensitive updates much quicker. This should also be helpful to mitigate this delay on creating your Rules.
Finally, we also advise to look at the following guide article for more information on this topic: What impacts builds time?