We are using Hybris 6.2 with updated Drools ver 7.0 for better performance. Currently we are publishing around more than 2K Product Fixed Price Promotions through Impex (Written a processor to create and publish promotion) at a time (But are not Initializing the Rule Engine as it does when we publish any rule from backoffice). Only once all the data is impexed successfully we are restarting the Rule Engine by initialiazing the engine again i.e. by calling DefaultPlatformRuleEngineService.initialize() method so, that all Drool Rule Engine become aware of these newly created promotions.
The issue we are facing is that AddToCart() functionality is taking lot of time during Initializing of the rules is happening in the background. At times we are getting 504 response from server while adding the product to the cart.
Can anyone help us out with this issue?