for each dst in my.out_edges if dst.depth > my.depth+1 then - - PowerPoint PPT Presentation
for each dst in my.out_edges if dst.depth > my.depth+1 then - - PowerPoint PPT Presentation
for each dst in my.out_edges if dst.depth > my.depth+1 then dst.depth = my.depth+1 0 1 2 3 I 1 I 2 0, 1 2, 3 S 1 S 2 SS 1.1 SS 1.1 SS 1.2 1 2 0,1 3 SS 2.1 SS 2.2 3 0 3 2 2,3 1
for each dst in my.out_edges if dst.depth > my.depth+1 then dst.depth = my.depth+1
S2 S1 SS1.1 SS2.2 3→2 SS1.2 1→2 0,1→3 SS1.1 SS2.1 3→0 2,3→1 I1 0, 1 I2 2, 3
1 2 3
1 2 3
S1 SS1.1 SS1.1
3→0 2→1 3→1 1→2 3→2 0→3 1→3
I1
0,1,2,3
I2 2, 3 S4 S3 S2 S1 SS1.1 SS3.2 5 2 4,5 3 SS2.2 3 2 SS1.2 1 2 0,1 3 SS1.1 SS2.1 3 0 2,3 1 SS3.1 4 1 SS1.3 1 4 0 5 SS2.3 3 4 3 5 SS3.3 5 4 4 5 SS3.4 4 6 SS2.4 SS1.4 0 6 I1 0, 1 I3 4, 5 I4 6 SS4.1 6 1 SS4.2 SS4.3 6 4 SS4.4 I1 0, 1 I2 2, 3 I3 4, 5 I4 6 Ii vertices In-memory ping-pong interval SSi.j sorted edges Sub-shard without hub Execution
- rder
S4 S3 S2 S1 SS1.1 SS3.2 5 2 4,5 3 SS2.2 3 2 SS1.2 1 2 0,1 3 SS1.1 SS2.1 3 0 2,3 1 SS3.1 4 1 SS1.3 1 4 0 5 SS2.3 3 4 3 5 SS3.4 4 6 SS2.4 SS1.4 0 6 SS4.1 6 1 SS4.2 SS4.3 6 4 SS4.4 I1 0, 1 I2 2, 3 I3 4, 5 I4 6 SS3.3 5 4 4 5 Ii vertices On-disk interval SSi.j edges Sub-shard with a hub Execution
- rder
Hub attached to a sub-shard
S4 S3 S2 S1 SS1.1 SS3.2 5 2 4,5 3 SS2.2 3 2 SS1.2 1 2 0,1 3 SS1.1 SS2.1 3 0 2,3 1 SS3.1 4 1 SS1.3 1 4 0 5 SS2.3 3 4 3 5 SS3.3 5 4 4 5 SS3.4 4 6 SS2.4 SS1.4 0 6 SS4.1 6 1 SS4.2 SS4.3 6 4 SS4.4 I1 0, 1 I2 2, 3 I3 4, 5 I4 6 Ii vertices On-disk interval SSi.j edges Sub-shard with a hub Execution
- rder
Hub attached to a sub-shard
S4 S3 S2 S1 SS1.1 SS3.2 5 2 4,5 3 SS2.2 3 2 SS1.2 1 2 0,1 3 SS1.1 SS2.1 3 0 2,3 1 SS3.1 4 1 SS1.3 1 4 0 5 SS2.3 3 4 3 5 SS3.3 5 4 4 5 SS3.4 4 6 SS2.4 SS1.4 0 6 SS4.1 6 1 SS4.2 SS4.3 6 4 SS4.4 I1 0, 1 I2 2, 3 I3 4, 5 I4 6 I2 2, 3 I1 0, 1 S4 S3 S2 S1 SS1.1 SS3.2 5 2 4,5 3 SS2.2 3 2 SS1.2 1 2 0,1 3 SS1.1 SS2.1 3 0 2,3 1 SS3.1 4 1 SS1.3 1 4 0 5 SS2.3 3 4 3 5 SS3.3 5 4 4 5 SS3.4 4 6 SS2.4 SS1.4 0 6 SS4.1 6 1 SS4.2 SS4.3 6 4 SS4.4 I1 0, 1 I2 2, 3 I2 2, 3 I1 0, 1 I3 4, 5 I4 6 Ii vertices In-memory ping-pong interval SSi.j edges Sub-shard without hub Execution
- rder
Ii vertices On-disk interval SSi.j edges Sub-shard with a hub Hub attached to a sub-shard