cancel
Showing results for 
Search instead for 
Did you mean: 

How performant is the new promotion engine (6.*) ?

Former Member
0 Kudos

Dear Experts,

As we know, the legacy Promotion Module from 5. has been replaced by the rule-based Promotion Engine in 6.0. It is also known that the Rule Engine is faster* then the old promotion module. The questions is HOW MUCH faster?

Are you aware of any performance indicators to measure the current Rule-Based engine performance? What is most relevant, for me, is to have some formal measures for 1) large carts (with ~50-70 products) and 2) a big number of active promotions (~100s).

Please share those indicators, if you have done some.

Kind regards, Atanas

Accepted Solutions (1)

Accepted Solutions (1)

RaufAliev
Participant
0 Kudos

Theoretically, the number of promotions and number of items don't affect performance significantly, because Drools is designed to work with much larger volumes (millions). However, before Drools comes to play there is a preparation phase. The products need to be fetched from the database and some decisions should be saved to the database. This phase may be longer, and it depends on your data model and a number of concurrent sessions.

For example, hybris Travel Accelerator performs tens of the promotion engine calls for each customer request, that is ~30 times longer than how much the cart calculation for electronics takes normally.

Please bear in mind that the promotion engine is part of hybris instance and it can be memory intensive if it deals with high amounts of data. If you have a lot of requests with large carts, memory is more important than CPU. And because you can't move the promotion calculation stuff to the dedicated node, you will need to upgrade memory for all nodes in the cluster where hybris promotion engine module is installed.

Some of my articles on the topic:

https://hybrismart.com/?s=promotion&submit=Search

Answers (0)