In this lesson · topic 3 of 7
Topic 3
Split a hot range and compare layouts
8 min read
Compare the rules
The lab sends a steady stream of requests to a set of partitions and counts them. Pick Compare all partitionings and both rules process the same requests. Bars show each partition’s share of the traffic, with the fair share being one divided by the number of partitions. The strip under a range panel shows where the boundaries sit. Every tick also issues one range scan, and the lab reports how many partitions it had to touch.
Predict before you press the button
Things to try
- Compare both rules under uniform keys, then sequential keys, then skewed keys.
- With skewed keys, raise the skew from 1.0 to 1.4 and watch the hash panel.
- With uniform keys, compare partitions per scan between the two rules, then raise the scan length to 2000 keys.
- Choose range partitioning with skewed keys and press Split the busiest range partition repeatedly. Pause after each press so the load can build up again.
- Do the same with sequential keys.
The full-page lab has five guided experiments with a setup button for each.