LESSON 33.05 · 5 STAGES · 3 CONTROLS · 3 CHECKSPRO · PREVIEW
Replication, partitioning and sharding
Watch 24 chat sessions split over nodes, copy, and survive a failed node.
Pro lesson. Stage 1 is free to watch. Pro opens all 5 stages, 3 controls and 3 checks, in this lesson and every other.
Go Pro · $8.25/moEXPLAINER · 33.05 · SESSION STORE140 MB ON 1 NODE OF 64 MB
01
Stage 1 of 5 · One node
One node holds 64 MB. The 24 sessions need 140 MB, so one node cannot hold them.
Explain it simply
Each small box is one chat session, its stored history. A node is one machine with 64 MB of space. The bar under N1 shows 140 MB, more than twice what fits. The part past the line does not fit.
All 24 sessions sit in node N1. Its bar shows 140 MB against a 64 MB line.
session (dashed: a copy)node, 64 MB; dashed line: even sharedotted box: node not in useover the line, failed or lostcopy that takes over
Toy: 24 sessions, 140 MB, nodes of 64 MB
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
The total size of the sessions is more than one node holds.
PRO LESSON · YOU WATCHED STAGE 1 OF 5
Unlock the full explainer
- 4 more stages and 3 live controls
- 2 mix-up cards and 3 predict-then-reveal checks
- Watch it as a narrated video, in three voices
- Every Pro lesson and capstone · 656 in total
$99 a year, or $15 a month. Cancel any time.