Graph Sharding Partition Explorer
Description
The graph contains 24 nodes in three shaded shard regions. Move Cross-shard edge count from 0 to 8 to add referral edges. Inspect an edge by clicking it or using the selector to compare local and remote traversal latency. Reset restores two cross-shard edges.
Modeling Notes
All latency values are synthetic assumptions from the specification, not measured or universal database performance. The model assigns 0.01 ms to a local traversal and 5–50 ms to a remote traversal; the readout sums one sequential traversal of each visible remote edge. It omits parallelism, caching, payload size, and workload variation. Fixed shard positions keep partition membership unambiguous.
Lesson Plan
Audience: undergraduate students and healthcare data practitioners. Allow 10–15 minutes. Prerequisites: nodes, edges, labels, and properties; for the comparison, also primary and foreign keys.
Learning objective: Given a patient graph partitioned across three shards, the learner can distinguish same-shard edges from cross-shard edges and examine why cross-shard traversal costs more.
- Explore: Record the remote cost range at 0, 2, and 8 cross-shard edges. Inspect one solid edge and one dashed edge. Explain which endpoint locations determine the edge type.
- Explain: Explain why eight sequential remote traversals yield 40–400 ms under the stated assumptions, and identify two real-world factors this simple model omits.
- Transfer: Sketch a different healthcare example using the same concept and explain one modeling assumption.
Assessment: use the explanation prompt above as an exit ticket. A complete response names the relevant graph elements, traces the displayed evidence, and distinguishes a modeling assumption from a general claim.
Embed This MicroSim
Copy this iframe to your website:
1 | |
Quality Checks
Validated September 7, 2026. Completeness rubric: 100/100. Browser interaction tests passed at 400, 800, and 1200 px, including reset and keyboard controls; no JavaScript errors were observed. Iframe visibility and visual layout checks passed. The iframe resizes to its rendered content, with the declared height serving as a fallback.
Specification
The full specification below is extracted from Chapter 4: Graph Database Scalability and Operations.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | |
Related Resources
References
- Source chapter — supplied learning objective and teaching example.
- vis-network documentation — rendering and interaction reference (accessed September 7, 2026).