Instructions
Instructions
Learn how to use the Consistent Hashing Simulator
Interactive Controls
Select Experiment:
Dropdown to select the experiment type (number of virtual nodes).
Start, Pause, Reset Simulation:
Buttons to control the simulation.
Adjust/Reset Parameters:
Buttons to adjust or reset the simulation parameters.
Add/Remove Machine Buttons:
Buttons to add/remove a specified, or a random machine.
Add/Remove Items Buttons:
Buttons to add/remove a specified number of items (random).
Simulation Metrics
Load Distribution:
Bar chart showing the number of items per machine.
Items Migrations:
Display of the number of objects migrated upon machine addition/removal.
Parameter Input Fields
Initial number of machines (servers):
Specify the initial number of machines in the system.
Initial number of items (objects):
Set the initial number of items to be stored in the DHT.
Virtual nodes per machine:
Adjust the number of virtual nodes each machine should have.
Items to add on click:
Set the number of items to add per click.
Items to remove on click:
Specify the number of items to remove per click.
Learning Objectives
Understand how consistent hashing distributes load among nodes.
Observe the impact of virtual nodes on load balance.
Compare consistent hashing with naive DHT in terms of load distribution, resilience, and performance.
Experiment Type
Select an Experiment
No virtual nodes
2 virtual nodes per machine
4 virtual nodes per machine
8 virtual nodes per machine
Custom (no quiz)
Start
Stop
Machines
Count per Action
➕ Add
➖ Remove
Items
Add Count
Remove Count
📦 Add
🗑️ Remove
Parameters
Init Machines
Init Items
Virtual Nodes
⚙️ Adjust
🔄 Reset
🔄 Hash Ring Visualization
📊 Performance Metrics
Load Distribution
Migration Analysis
Quiz Question
A possible quiz question appears here
Submit Answer