Cache Invalidation Process Overview
Copy
RabbitMQ acts as a messaging service to provide messages between nodes for cache invalidation.
The following steps outline the process of cache invalidation:
- A cache invalidating action is performed on Server “A” (e.g., an ItemType item received a modification to its definition and was saved).
- Server-side cache is invalidated for Server “A.”
- A message containing the Key to be invalidated is added to Rabbit’s Queue.
- RabbitMQ disperses messages to all listening servers.
- Server “B” invalidates the corresponding cache entry in its own server cache.