WebSphere eXtreme Scale Product Overview > Cache concepts > Local in-memory cache



Peer-replicated local in-memory cache


For a local WebSphere eXtreme Scale cache, ensure the cache is synchronized if there are multiple processes with independent cache instances. To do so, enable a peer-replicated cache with JMS.

WebSphere eXtreme Scale includes two plug-ins that automatically propagate transaction changes between peer ObjectGrid instances. The JMSObjectGridEventListener plug-in automatically propagates eXtreme Scale changes using Java™ Messaging Service (JMS).

Figure 1. Peer-replicated cache with changes that are propagated with JMS

JMS propagates changes among two ObjectGrid instances that are running in different Java virtual machines. Each <a href=ObjectGrid instance is associated with an application." />

If you are running a WebSphere Application Server environment, the TranPropListener plug-in is also available. The TranPropListener plug-in uses the high availability (HA) manager to propagate the changes to each peer eXtreme Scale cache instance.

Figure 2. Peer-replicated cache with changes that are propagated with the high availability manager

The HA manager propagates changes among two ObjectGrid instances that are running in different Java virtual machines. Each <a href=ObjectGrid instance is associated with an application." />


Advantages


Disadvantages


When to use

This deployment topology should be used only when the amount of data to be cached is small (can fit into a single JVM) and is relatively stable.



Parent topic

Local in-memory cache


+

Search Tips   |   Advanced Search