BigMemory 4.3.7 | Component Documentation | WAN Replication User Guide | WAN Replication Demo | About the Demo
 
About the Demo
This sample application demonstrates the BigMemory WAN Replication service for BigMemory Max clusters. WAN replication enables two or more BigMemory Max clusters to share data in an eventually consistent manner.
The scenario simulated by this application involves two BigMemory Max clusters, named Region-1 and Region-2. Any data stored in Region-1 will be shown to be replicated to Region-2, and vice versa.
You can run the sample application on a single machine, or on machines that are actually connected via WAN. To run the demo on different machines, you need to specify the correct IP:PORT addresses in the xml configuration files.
The sample application is located under <bigmemory_kit>/code-samples/example09-wan-replication/, and the code used for the application is located under /code-samples/src/.