Raphtory : Streaming Analysis Of Distributed Temporal Graphs
Benjamin Steer, Felix Cuadrado & Richard G. Clegg
1
Raphtory : Streaming Analysis Of Distributed Temporal Graphs - - PowerPoint PPT Presentation
Raphtory : Streaming Analysis Of Distributed Temporal Graphs Benjamin Steer , Felix Cuadrado & Richard G. Clegg 1 Motivation Traditional Graph Processing Systems Chosen Computation Output Graph Snapshot Processing Snapshot 1 Snapshot 2
1
Chosen Computation
Traditional Graph Processing Systems
Snapshot1
Graph Snapshot Processing
Snapshot2 Snapshot2
Chosen Computation
Output for each snapshot Output
2
Stream-Based Graph Processing Platform Event source User Graph maintained in-memory
■ Analysis on the most recent Graph ■ Near real-time updates to metrics ■ Compare new updates to previous state ■ Temporal graph analysis
3
4
5
Implemented in Scala using the Akka actor model
[Raphtory: Streaming analysis of distributed temporal graphs, Future Generation Computer Systems 2020, Vol 102, pp 453-464]
Edge 1 à 2
Vertex 1 Created: t8 Edge 1 à 2 Created: t14 Created: t14 Deleted: t15 Vertex 2 Edge 1 à 2 Deleted: t15 Created: t14 Deleted: t15 Created: t14 Partition 1 Partition 2
6
{ "Edge Add":{ ”Message Time": 14, ”Source ID":1, ”Destination ID":2 } } Partition Manager 1 Vertex 1 Created: t14 Edge 1 à 2 Created: t14 Partition Manager 2 Vertex 2 Edge 1 à 2 Created: t14 Created: t14 Created: t8 Created: t9
7
{ "Edge Add":{ ”Message Time": 14, ”Source ID":1, ”Destination ID":2 } } Partition Manager 1 Vertex 1 Created: t14 Edge 1 à 2 Created: t14 Partition Manager 2 Vertex 2 Edge 1 à 2 Created: t14 Created: t14 { ”Vertex Add":{ ”Message Time": 8, ”Source ID":1 } } Created: t8
8
{ "Edge Add":{ ”Message Time": 14, ”Source ID":1, ”Destination ID":2 } } Partition Manager 1 Vertex 1 Created: t8 Edge 1 à 2 Created: t14 Partition Manager 2 Vertex 2 Edge 1 à 2 Deleted: t15 Created: t14 Deleted: t15 Created: t14 Deleted: t15 Created: t14 { ”Vertex Removal":{ ”Message Time": 15 ”Source ID":2 } }
9
Partition Manager Partition Manager Partition Manager Partition Manager Router Router Router Analysis Manager Analysis Request Individual Responses
10
11
Full History of the Graph
t0 tn t10
View (Right Hand Filter) Window (Left Hand Filter)
t5
Window Size = 5
Full History of the Graph
t0 tn t10
Batch of Windows (Decreasing in size)
t5
Window Sizes = [5,3,1]
t7 t9
Full History of the Graph
t0 tn t10 t4
Range of Interest = t4 -> t10 Interval = 2
t6 t8
Largest Connected Component
connected components over Gab graph.
17
18