Cache Invalidation Process Overview

RabbitMQ acts as a messaging service to provide messages between nodes for cache invalidation.

The following steps outline the process of cache invalidation:

  1. A cache invalidating action is performed on Server “A” (e.g., an ItemType item received a modification to its definition and was saved).
  2. Server-side cache is invalidated for Server “A.”
  3. A message containing the Key to be invalidated is added to Rabbit’s Queue.
  4. RabbitMQ disperses messages to all listening servers.
  5. Server “B” invalidates the corresponding cache entry in its own server cache.