Skip to content
StackDecode
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.

Graph partitionsWorker 1Worker 2Worker 3Coordinator
  • 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

  1. 1Partition the graph
  2. 2Each vertex computes
  3. 3Send messages to neighbours
  4. 4Repeat until done

Where it is used

Social and web graphs.

Watch out for

Skewed vertices and cross-partition edges.

Related