Sharding

This sample demonstrates database sharding using Java.

How to Run

In a console window, run:

    xsql -size 1024m -p 5000

Then in a second console window, run:

    xsql -size 1024m -p 5001

Then in a third console window, run:

    Sharding

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