Three pictures from the tutorial to run again, each with its policy switch where it has one, and the shard rule as a program you can change. Try other numbers of shards in the program, or other users, and count who moves. Reset brings the starter back.
VisualizerA replica 200 ms behind
PolicyCompare the two policies on the same reads.
Architecture4 boxes
Ready
Press Run it, then step through and watch the requests move.
VisualizerUsers 1 to 10 on four shards
Work out each shard before the step shows it.
Architecture5 boxes
Ready
Press Run it, then step through and watch the requests move.
VisualizerTwo data centres, one broken link
PolicyCompare step 5 under both policies.
Architecture3 boxes
Ready
Press Run it, then step through and watch the requests move.
free play: old and new shard for each user
Ctrl+Enter runs
Python runs here. Java is shown for reading; paste it into a Java tool on your computer to run it.