I am using nopcommerce 3.6 and here is the problem with load balancing.
I have 3 machines to handle traffic, and I use the hash method of the ip source.
Now I want to switch from this method to the round-robin method, because it handles traffic better, but in nop 3.6, the user’s basket items set with cookies, and if the guest sends to other servers, the basket elements will be deleted.
For example:
Guest A comes to the site on the server Xand adds the product to the cart. by clicking on ADD_TO_CART btn, the page refreshes, and the guest can redirect the server Y, because the round-robin method considers that the server Yhas lower traffic than the server X.
The reason is that the guest element has been added to the cart on the server X, and now he / she is on the server Y, the cart will be lost.
How can I manage the cart and sessions here? Any solutions?
source
share