July 07 2016, 00:35

New post on my blog. I managed to create a separate cluster from Hybris for promotion calculation.

In the latest version of Hybris, they introduced a new promotions engine, built on rules. There is a convenient interface where you can construct complex rules with intricate conditions and publish them on the site immediately.

But there’s a catch – the engine is only integrated into the shopping cart. And a few minor places and the call center software. I set myself the task of calculating promotions for each item on the search page and category page.

Simply calling the functionality twenty times won’t work. Firstly, there are some issues with interfaces, but even if those are resolved, the calculation would be too slow. To make the page loading time somewhat acceptable, it would be necessary to increase the number of servers, which with Hybris isn’t the best option, as in most cases licenses are sold per CPU.

Link – video proof-of-concept and technical details.

Including @[100001168004708:2048:Erik Babadzhanov] @[100001044160267:2048:Aleksey Kryuchkov] @[100004031421822:2048:Alexey Lyubimov] @[100004031421822:2048:Alexey Lyubimov] @[1817791335:2048:Victor Romanovsky] @[100000077047562:2048:Marina Zhigalova] @[100001894770015:2048:Viktoriya Shaimardanova] @[100001735299023:2048:Alexey Pronin] @[1698960808:2048:Alexander Zolotilin] @[100000571996239:2048:Maxim Antonov] @[100002859265802:2048:Ilya Timchenko] @[1328575098:2048:Max Shelukhanov] @[617283947:2048:Renata Mussina] @[1509384824:2048:Anatoly Mokhov] thinking this might solve some problems for you.

https://hybrismart.com/2016/07/05/distributed-promotion-calculation-cluster-promo-as-a-service/

Leave a comment