Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clear Cache With Distributed Cache #6624

Closed
AdiIndoSwiss opened this issue Mar 2, 2023 · 4 comments
Closed

Clear Cache With Distributed Cache #6624

AdiIndoSwiss opened this issue Mar 2, 2023 · 4 comments

Comments

@AdiIndoSwiss
Copy link

nopCommerce version: 4.5.01

Steps to reproduce the problem:
I tried already the solution mentioned in the link .
#5593 (comment)

The website never loads properly.
Need quickly some working workaround.
regards,
Aditya

@AndreiMaz
Copy link
Member

@AdiIndoSwiss Please provide a list of steps to reproduce the issue on the clean "develop" branch"

@sinanopcommerce
Copy link

The best solution using rabbitmq pub/sub pattern for synchronizing the cache (resourcestring, settings, category, discount) for all instances. nop already does this inside the application. Just replace the in-application one with rabbitmq fanout. Same thing just for multiple instances rather than one instance.

Move, the customer, and shopping cart to distributed cache and others to the memory cache(Entities that are not updated very frequently). If you tried distributed cache for scalability, you can try this approach.

@skoshelev
Copy link
Contributor

Hi, @AdiIndoSwiss. The essence of the problem is not clear, you say that you looked at ticket #5593. There is a linked commit in this ticket 5acbd99 which closes the issue with clearing the distributed cache. Please describe your problem in detail, and indicate if it is possible to reproduce it on version 4.60.2

@AdiIndoSwiss
Copy link
Author

thks guys will try out the solutions. closing the issue for now. have a great day.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants