Cluster_Window

This sample demonstrates the use of the transaction window feature to increase overall cluster performance. The sample starts 10 WRITE threads and prints TPS (Transactions Per Second) values for window sizes 1 and 6 to demonstrate the performance gain.

How to Run

In a console window run:

 
    cluster_window 2 0
     

Then in a second console window run:

 
    cluster_window 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