Cluster_Scatter

This sample demonstrates the use of the distributed class and the mco_cluster_scatter() / mco_cluster_gather() calls to manually synchronize database content on different nodes.

How to Run

In a console window run:

 
    cluster_scatter 2 0
     

Then in a second console window run:

 
    cluster_scatter 2 1
 

But it is more instructive to run one instance in your development environment debugger, stepping through the code.

Related Topics Link IconRelated Topics