Message Modules
Streamline Event-Processing with Message Modules
Deploy Java or C# application code called message modules in the distributed cache to receive and handle incoming messages. These modules provide reliable, strongly typed access to cached objects. In-memory data storage accelerates performance by avoiding the overhead of accessing backing stores to retrieve needed data.
For example, consider an airline that stores flight and passenger information in a cloud-based, NoSQL database and uses an event-driven architecture to process system updates, like weather rerouting and equipment changes. Instead of using serverless functions to handle events, the airline can send incoming messages to a ScaleOut StateServer distributed cache and process them with message modules:
To accelerate processing, these modules immediately access cached objects when events flow in and use application-specific code to make changes. Objects move to and from the backing store as needed with “hot” data automatically staged in the cache on demand. Modules run in parallel on all cache servers to further speed up event processing.