Update on my blog. This time I didn’t wait until Thursday because the results were ready in just one day.
My latest post has a complex title – something like session storage in Redis, but to put it simply, this thing is needed so that if any server of your online store goes down, a customer would not notice: their cart wouldn’t empty, authentication wouldn’t fail, checkout wouldn’t be interrupted.
The crux of the matter is that the data associated with the current user session – i.e., temporary data, are not saved by Hybris anywhere but in memory. And if the server crashes, the data crashes with it. At the very least, a user would need to log in again, which during a sale season always leads to a loss in sales, as many customers simply don’t bother and go to another online store.
In the prototype I demonstrate in the video, the user session does not fail, even if servers are switched (from A to B and back). In real life, they should not change unless the main server crashes.
https://hybrismart.com/2016/08/02/hybris-cluster-redis-session-failover/
