System Design
18. Advanced Distributed ArchitectureAnimated
Distributed Graph Processing
Analysing huge graphs across machines.
The idea
The graph is partitioned and computed in supersteps such as Pregel.
Watch it work
Press play, pause, or step through. Some animations have settings you can change.
- client
- gateway / proxy
- service
- cache
- data store
- queue / stream
The graph is partitioned across workers.
- step:
- 1/4
- at:
- Graph partitions
1/8
The green dot is a request moving through the system.
Step by step
- 1Partition the graph
- 2Each vertex computes
- 3Send messages to neighbours
- 4Repeat until done
Where it is used
Social and web graphs.
Watch out for
Skewed vertices and cross-partition edges.