Joseph Gonzalez Joint work with Yucheng Low Aapo Kyrola Danny Bickson Carlos Guestrin Guy Blelloch Joe Hellerstein David O’Hallaron Alex Smola The Next.

Slides:



Advertisements
Similar presentations
Danny Bickson Parallel Machine Learning for Large-Scale Graphs
Advertisements

Piccolo: Building fast distributed programs with partitioned tables Russell Power Jinyang Li New York University.
Carnegie Mellon Joseph Gonzalez Joint work with Yucheng Low Aapo Kyrola Danny Bickson Carlos Guestrin Guy Blelloch Joe Hellerstein David O’Hallaron A New.
Exact Inference in Bayes Nets
Distributed Graph Analytics Imranul Hoque CS525 Spring 2013.
Study of Hurricane and Tornado Operating Systems By Shubhanan Bakre.
Distributed Graph Processing Abhishek Verma CS425.
Spark: Cluster Computing with Working Sets
Joseph Gonzalez Joint work with Yucheng Low Aapo Kyrola Danny Bickson Carlos Guestrin Guy Blelloch Joe Hellerstein David O’Hallaron A New Parallel Framework.
APACHE GIRAPH ON YARN Chuan Lei and Mohammad Islam.
Yucheng Low Aapo Kyrola Danny Bickson A Framework for Machine Learning and Data Mining in the Cloud Joseph Gonzalez Carlos Guestrin Joe Hellerstein.
Carnegie Mellon Joseph Gonzalez Joint work with Yucheng Low Aapo Kyrola Danny Bickson Carlos Guestrin Guy Blelloch Joe Hellerstein David O’Hallaron A New.
Piccolo – Paper Discussion Big Data Reading Group 9/20/2010.
Carnegie Mellon Joseph Gonzalez Joint work with Yucheng Low Aapo Kyrola Danny Bickson Carlos Guestrin Guy Blelloch Joe Hellerstein David O’Hallaron A New.
Carnegie Mellon Joseph Gonzalez Joint work with Yucheng Low Aapo Kyrola Danny Bickson Kanat Tangwon- gsan Carlos Guestrin Guy Blelloch Joe Hellerstein.
Scaling Distributed Machine Learning with the BASED ON THE PAPER AND PRESENTATION: SCALING DISTRIBUTED MACHINE LEARNING WITH THE PARAMETER SERVER – GOOGLE,
Distributed Computations
GraphLab A New Parallel Framework for Machine Learning Carnegie Mellon Based on Slides by Joseph Gonzalez Mosharaf Chowdhury.
Homework 2 In the docs folder of your Berkeley DB, have a careful look at documentation on how to configure BDB in main memory. In the docs folder of your.
Map-Reduce and Parallel Computing for Large-Scale Media Processing Youjie Zhou.
Lecture 2 – MapReduce CPE 458 – Parallel Programming, Spring 2009 Except as otherwise noted, the content of this presentation is licensed under the Creative.
Big Learning with Graph Computation Joseph Gonzalez Download the talk:
Joseph Gonzalez Yucheng Low Aapo Kyrola Danny Bickson Joe Hellerstein Alex Smola Distributed Graph-Parallel Computation on Natural Graphs Haijie Gu The.
Graph-based consensus clustering for class discovery from gene expression data Zhiwen Yum, Hau-San Wong and Hongqiang Wang Bioinformatics, 2007.
GraphLab A New Framework for Parallel Machine Learning
Pregel: A System for Large-Scale Graph Processing
Carnegie Mellon University GraphLab Tutorial Yucheng Low.
Parallel Programming Models Jihad El-Sana These slides are based on the book: Introduction to Parallel Computing, Blaise Barney, Lawrence Livermore National.
1 The Map-Reduce Framework Compiled by Mark Silberstein, using slides from Dan Weld’s class at U. Washington, Yaniv Carmeli and some other.
X-Stream: Edge-Centric Graph Processing using Streaming Partitions
Distributed shared memory. What we’ve learnt so far  MapReduce/Dryad as a distributed programming model  Data-flow (computation as vertex, data flow.
GraphLab: how I understood it with sample code Aapo Kyrola, Carnegie Mellon Univ. Oct 1, 2009.
CSE 486/586 CSE 486/586 Distributed Systems Graph Processing Steve Ko Computer Sciences and Engineering University at Buffalo.
Carnegie Mellon Yucheng Low Aapo Kyrola Danny Bickson A Framework for Machine Learning and Data Mining in the Cloud Joseph Gonzalez Carlos Guestrin Joe.
Pregel: A System for Large-Scale Graph Processing Grzegorz Malewicz, Matthew H. Austern, Aart J. C. Bik, James C. Dehnert, Ilan Horn, Naty Leiser, and.
Shared Memory Parallelization of Decision Tree Construction Using a General Middleware Ruoming Jin Gagan Agrawal Department of Computer and Information.
Carnegie Mellon Machine Learning in the Cloud Yucheng Low Aapo Kyrola Danny Bickson Joey Gonzalez Carlos Guestrin Joe Hellerstein David O’Hallaron.
MapReduce Kristof Bamps Wouter Deroey. Outline Problem overview MapReduce o overview o implementation o refinements o conclusion.
MapReduce and GFS. Introduction r To understand Google’s file system let us look at the sort of processing that needs to be done r We will look at MapReduce.
Readings: K&F: 11.3, 11.5 Yedidia et al. paper from the class website
Carnegie Mellon Yucheng Low Aapo Kyrola Danny Bickson A Framework for Machine Learning and Data Mining in the Cloud Joseph Gonzalez Carlos Guestrin Joe.
Data Structures and Algorithms in Parallel Computing
A N I N - MEMORY F RAMEWORK FOR E XTENDED M AP R EDUCE 2011 Third IEEE International Conference on Coud Computing Technology and Science.
MapReduce: Simplified Data Processing on Large Clusters By Dinesh Dharme.
Data Parallel and Graph Parallel Systems for Large-scale Data Processing Presenter: Kun Li.
Sporadic model building for efficiency enhancement of the hierarchical BOA Genetic Programming and Evolvable Machines (2008) 9: Martin Pelikan, Kumara.
Carnegie Mellon University Joseph Gonzalez Joint work with Yucheng Low Aapo Kyrola Danny Bickson Carlos Guestrin Joe Hellerstein Alex Smola The Next Generation.
PowerGraph: Distributed Graph- Parallel Computation on Natural Graphs Joseph E. Gonzalez, Yucheng Low, Haijie Gu, and Danny Bickson, Carnegie Mellon University;
Distributed cooperation and coordination using the Max-Sum algorithm
A Distributed Framework for Machine Learning and Data Mining in the Cloud BY YUCHENG LOW, JOSEPH GONZALEZ, AAPO KYROLA, DANNY BICKSON, CARLOS GUESTRIN.
Department of Computer Science, Johns Hopkins University Pregel: BSP and Message Passing for Graph Computations EN Randal Burns 14 November 2013.
Jimmy Lin and Michael Schatz Design Patterns for Efficient Graph Algorithms in MapReduce Michele Iovino Facoltà di Ingegneria dell’Informazione, Informatica.
TensorFlow– A system for large-scale machine learning
Big Data: Graph Processing
A New Parallel Framework for Machine Learning
CSCI5570 Large Scale Data Processing Systems
MapReduce Computing Paradigm Basics Fall 2013 Elke A. Rundensteiner
MapReduce Simplied Data Processing on Large Clusters
湖南大学-信息科学与工程学院-计算机与科学系
Predictive Performance
COS 518: Advanced Computer Systems Lecture 12 Mike Freedman
Distributed Systems CS
Chap. 7 Regularization for Deep Learning (7.8~7.12 )
COS 418: Distributed Systems Lecture 19 Wyatt Lloyd
Distributed Systems CS
MAPREDUCE TYPES, FORMATS AND FEATURES
COS 518: Distributed Systems Lecture 11 Mike Freedman
MapReduce: Simplified Data Processing on Large Clusters
Rohan Yadav and Charles Yuan (rohany) (chenhuiy)
Map Reduce, Types, Formats and Features
Presentation transcript:

Joseph Gonzalez Joint work with Yucheng Low Aapo Kyrola Danny Bickson Carlos Guestrin Guy Blelloch Joe Hellerstein David O’Hallaron Alex Smola The Next Generation of the GraphLab Abstraction.

How will we design and implement parallel learning systems?

Map-Reduce / Hadoop Build learning algorithms on-top of high-level parallel abstractions... a popular answer:

Belief Propagation Label Propagation Kernel Methods Deep Belief Networks Neural Networks Tensor Factorization PageRank Lasso Map-Reduce for Data-Parallel ML Excellent for large data-parallel tasks! 4 Data-Parallel Graph-Parallel Cross Validation Feature Extraction Map Reduce Computing Sufficient Statistics Is there more to Machine Learning ?

Concrete Example Label Propagation

Profile Label Propagation Algorithm Social Arithmetic: Recurrence Algorithm: iterate until convergence Parallelism: Compute all Likes[i] in parallel Sue Ann Carlos Me 50% What I list on my profile 40% Sue Ann Likes 10% Carlos Like 40% 10% 50% 80% Cameras 20% Biking 30% Cameras 70% Biking 50% Cameras 50% Biking I Like: + 60% Cameras, 40% Biking

Properties of Graph Parallel Algorithms Dependency Graph Iterative Computation What I Like What My Friends Like Factored Computation

? Belief Propagation Label Propagation Kernel Methods Deep Belief Networks Neural Networks Tensor Factorization PageRank Lasso Map-Reduce for Data-Parallel ML Excellent for large data-parallel tasks! 8 Data-Parallel Graph-Parallel Cross Validation Feature Extraction Map Reduce Computing Sufficient Statistics Map Reduce?

Why not use Map-Reduce for Graph Parallel Algorithms?

Data Dependencies Map-Reduce does not efficiently express dependent data User must code substantial data transformations Costly data replication Independent Data Rows

Slow Processor Iterative Algorithms Map-Reduce not efficiently express iterative algorithms: Data CPU 1 CPU 2 CPU 3 Data CPU 1 CPU 2 CPU 3 Data CPU 1 CPU 2 CPU 3 Iterations Barrier

MapAbuse: Iterative MapReduce Only a subset of data needs computation: Data CPU 1 CPU 2 CPU 3 Data CPU 1 CPU 2 CPU 3 Data CPU 1 CPU 2 CPU 3 Iterations Barrier

MapAbuse: Iterative MapReduce System is not optimized for iteration: Data CPU 1 CPU 2 CPU 3 Data CPU 1 CPU 2 CPU 3 Data CPU 1 CPU 2 CPU 3 Iterations Disk Penalty Startup Penalty

Belief Propagation SVM Kernel Methods Deep Belief Networks Neural Networks Tensor Factorization PageRank Lasso Map-Reduce for Data-Parallel ML Excellent for large data-parallel tasks! 14 Data-Parallel Graph-Parallel Cross Validation Feature Extraction Map Reduce Computing Sufficient Statistics Map Reduce? Pregel (Giraph)?

Barrier Pregel (Giraph) Bulk Synchronous Parallel Model: ComputeCommunicate

Problem with Bulk Synchronous Example Algorithm: If Red neighbor then turn Red Bulk Synchronous Computation : Evaluate condition on all vertices for every phase 4 Phases each with 9 computations  36 Computations Asynchronous Computation (Wave-front) : Evaluate condition only when neighbor changes 4 Phases each with 2 computations  8 Computations Time 0 Time 1 Time 2Time 3Time 4

Belief Propagation SVM Kernel Methods Deep Belief Networks Neural Networks Tensor Factorization PageRank Lasso The Need for a New Abstraction Map-Reduce is not well suited for Graph-Parallelism 17 Data-Parallel Graph-Parallel Cross Validation Feature Extraction Map Reduce Computing Sufficient Statistics Pregel (Giraph)

What is GraphLab?

The GraphLab Framework Scheduler Consistency Model Graph Based Data Representation Update Functions User Computation 19

Data Graph 20 A graph with arbitrary data (C++ Objects) associated with each vertex and edge. Vertex Data: User profile text Current interests estimates Edge Data: Similarity weights Graph: Social Network

label_prop(i, scope){ // Get Neighborhood data (Likes[i], W ij, Likes[j])  scope; // Update the vertex data // Reschedule Neighbors if needed if Likes[i] changes then reschedule_neighbors_of(i); } Update Functions 21 An update function is a user defined program which when applied to a vertex transforms the data in the scope of the vertex

The Scheduler 22 CPU 1 CPU 2 The scheduler determines the order that vertices are updated. e e f f g g k k j j i i h h d d c c b b a a b b i i h h a a i i b b e e f f j j c c Scheduler The process repeats until the scheduler is empty.

The GraphLab Framework Scheduler Consistency Model Graph Based Data Representation Update Functions User Computation 23

Ensuring Race-Free Code How much can computation overlap?

GraphLab Ensures Sequential Consistency 25 For each parallel execution, there exists a sequential execution of update functions which produces the same result. CPU 1 CPU 2 Single CPU Single CPU Parallel Sequential time

Consistency Rules 26 Guaranteed sequential consistency for all update functions Data

Full Consistency 27

Obtaining More Parallelism 28

Edge Consistency 29 CPU 1 CPU 2 Safe Read

Consistency Through R/W Locks Read/Write locks: Full Consistency Edge Consistency Write Canonical Lock Ordering ReadWrite Read Write

Carnegie Mellon GraphLab for Natural Graphs the Achilles heel

Problem: High Degree Vertices Graphs with high degree vertices are common: Power-Law Graphs (Social Networks): Affects algorithms like label-propagation Probabilistic Graphical Models: Hyper-parameters which couple large sets of data Connectivity structure induced by natural phenomena High degree vertices kill parallelism: Pull a Large Amount of State Requires Heavy Locking Processed Sequentially

Proposed Solutions Decomposable Update Functors Expose greater parallelism by further factoring update functions Abelian Group Caching (concurrent revisions) Allows for controllable races through diff operations Stochastic Scopes Reduce degree through sampling

Associative Commutative Update Functors Associative commutative functions which: i.e., 1 + (2 + 3) Subsumes Message Passing, Traveler Model, and Pregel (Giraph) Function composition equivalent to combiner in Pregel LabelPropUF(i, scope, Δ ) // Get Neighborhood data (OldLikes[i], Likes[i], W ij )  scope; // Update the vertex data Likes[i]  Likes[i] + Δ ; // Reschedule Neighbors if needed if |Likes[i] – OldLikes[i]| > ε then for all neighbors j Δ  (Likes[i] – OldLikes[i]) * W ij ; reschedule(j, Δ ); OldLikes[i]  Likes[i] Update Functor composition: Achieved by defining an operator+ for update functors Update functors composition may be computed in parallel

Advantages of Update Functors Eliminates the need to read neighbor values Reduces locking overhead Enables task de-duplication and hinting: User defined (+) can choose to eliminate or compose Dynamically control execution parameters: priority(), consistency_level(), is_decomposable() … Needed to to enable further extensions Decomposable update functors etc… Simplifies schedulers: Many update functions  single update functor

Disadvantages of Update Functors Typically constructed sequentially Requires access to edge weights Problems exist in Pregel/Giraph as well Changed required substantial engineering effort  Affected 2/3 of the GraphLab Library lpF(i, scope, Δ) // Update the vertex data Likes[i]  Likes[i] + Δ; // Reschedule Neighbors if needed if |Likes[i] – OldLikes[i]| > ε then for all neighbors j Δ  (Likes[i] – OldLikes[i]) * W ij ; reschedule(j, Δ); OldLikes[i]  Likes[i]

Carnegie Mellon Decomposable Update Functors Breaking computation over edges of the graph.

Decomposable Update Functors Decompose update functions into 3 phases: Locks are acquired only for region within a scope  Relaxed Consistency + + … +  Δ Y Y Y Parallel Sum User Defined: Gather( )  Δ Y Δ 1 + Δ 2  Δ 3 Y Scope Gather Y Y Apply(, Δ)  Y Apply the accumulated value to center vertex User Defined: Apply Y Scatter( )  Update adjacent edges and vertices. User Defined: Y Scatter

Implementing Label Propagation with Factorized Update Functions: Implemented using update functors state as accumulator: Uses same (+) operator to merge partial gathers: Gather(i,j, scope) // Get Neighborhood data (Likes[i], W ij, Likes[j]) // Emit accumulator emit W ij x Likes[j] as Δ; Apply(i, scope, Δ){ // Get Neighborhood (Likes[i])  scope; // Update the vertex Likes[i]  Δ; } Scatter(i, scope){ // Get Neighborhood data (Likes[i], W ij, Likes[j])  scope; // Reschedule if changed if Likes[i] changed then reschedule(j); } Δ 1 + Δ 2  Δ 3 Decomposable Update Functors Y F1F1 F1F1 F2F2 F2F2 F1F1 F1F1 F2F2 F2F2 ( + )( ) Y

Decomposable Functors Fits many algorithms Loopy Belief Propagation, Label Propagation, PageRank… Addresses the earlier concerns Problem: High degree vertices will still get locked frequently and will need to be up-to-date Large State Distributed Gather and Scatter Heavy Locking Fine Grained Locking Sequential Parallel Gather and Scatter

Abelian Group Caching Enabling eventually consistent data races

Abelian Group Caching Issue: All earlier methods maintain a sequentially consistent view of data across all processors. Proposal: Try to split data instead of computation. How can we split the graph without changing the update function?

Insight from WSDM paper Answer: Allow Eventually Consistent data races High degree vertices admit slightly “stale” values: Changes in a few elements  negligible effect High degree vertex updates typically a form of “sum” operation which has an “inverse” Example: Counts, Averages, Sufficient statistics Counter Example: Max Goal: Lazily synchronize duplicate data Similar to a version control system Intermediate values partially consistent Final value at termination must be consistent

Example Every processor initial has a copy of the same central value: 10 Processor 1Processor 2Processor 3 Master Current

Example Each processor makes a small change to its value: 10 Processor 1Processor 2Processor 3 Master 11 Old 7 13 Old True Value: = 11 Current

Example Send delta values (Diffs) to the master: 10 Processor 1Processor 2Processor 3 Master 1 -3 True Value: = Old 7 13 OldCurrent

Example Send delta values (Diffs) to the master: 10 Processor 1Processor 2Processor 3 Master 1 -3 True Value: = OldCurrent

Example Send delta values (Diffs) to the master: 8 8 Processor 1Processor 2Processor 3 Master 1 -3 True Value: = OldCurrent

Example Master is consistent with first two processors changes Old Processor 1Processor 2Processor 3 Master True Value: = 11 Current

Example Master decides to refresh other processors Old Processor 1Processor 2Processor 3 Master True Value: = Current

Example Master decides to refresh other processors Old Processor 1Processor 2Processor 3 Master True Value: = Current

Example Master decides to refresh other processors Old Processor 1Processor 2Processor 3 Master True Value: = Current

Example Master decides to refresh other processors Old Processor 1Processor 2Processor 3 Master True Value: = Current

Example Master decides to refresh other processors Old Processor 1Processor 2Processor 3 Master True Value: = Current

Example Processor 3 decides to update the master Old Processor 1Processor 2Processor 3 Master True Value: = Current

Example Processor 3 decides to update the master Processor 1Processor 2Processor 3 Master True Value: = Current

Example Processor 3 decides to update the master Processor 1Processor 2Processor 3 Master True Value: = 11 3 Current

Example Master is globally consistent: Processor 1Processor 2Processor 3 Master True Value: = 11 Current

Example Master is globally consistent: Processor 1Processor 2Processor 3 Master True Value: = 11 Current 11

Example Master is globally consistent: 11 Processor 1Processor 2Processor 3 Master True Value: = 11 Current 11

Abelian Group Caching Abelian Group Caching: Data must have a commutative (+) and inverse (-) operation In GraphLab we have encountered many applications with the following bipartite form: Data Parameter Bounded Low Degree Parameter High Degree (Power Law)

Abelian Group Caching Abelian Group Caching: Data must have a commutative (+) and inverse (-) operation In GraphLab we have encountered many applications with the following bipartite form: Clustering Topic models Lasso … Data Parameter

Caching Replaces Locks Instead of locking cache entries are created: Each processor maintains a LRU vertex data cache Locks are acquired in parallel and only on a cache miss User must define (+) and (-) operations for vertex data Simpler: vdata.apply_diff(new_vdata, old_vdata) User specifies maximum allowable “staleness” Works with existing update functions/functors Cach e

Hierarchical Caching The caching strategy can be composed across varying latency systems: Rack 1 Cache Distributed Hash Table of Masters Rack 2 Cache System Cache Thread Cache Cache Resolution

Hierarchical Caching Current implementation uses two tiers: Distributed Hash Table of Masters System Cache Cache Resolution Thread Cache

Contention Based Caching Idea: Only use cache strategy when a lock is in frequently contention Tested on LDA and PageRank Reduces the effective cache size Works under LDA Try_LockLock and Cache Fail Use true dataUsed Cached Copy

Created a New Library! Abelian cached distributed hash table: Should be running on the grid soon int main(int argc, char** argv) { dc_init_param rpc_parameters; init_param_from_env(rpc_parameters); distributed_control dc(rpc_parameters); delta_dht tbl(dc, 100); tbl[“hello”] += 1.0; tbl[“world”] -= 3.0; tbl.synchronize(“world”); std::cout << tbl[“hello”] << std::endl; } Initialize system using Hadoop Friendly TCP connections Create an Abelian Cached Map Add entries Read values

Stochastic Scopes Bounded degree through sampling

Stochastic Scopes Idea: Can we “sample” the neighborhood of a vertex Randomly sample neighborhood of fixed size: Currently only supports uniform sampling Will likely need weighted sampling Need to develop theory of stochastic scopes in learning algorithms label_prop(i, scope, p){ // Get Neighborhood data // Update the vertex data // Reschedule Neighbors if needed } Randomly construct a sample scope lock all selected neighbors

EARLY EXPERIMENT

Implemented LDA in GraphLab Used collapsed Gibbs sampling for LDA as test App. GraphLab Formulation: Doc 1 Doc 2 Doc 3 Word A Word B Word C Word D {#[w,d,t], #[w,d]} #[d,t] #[w,t] #[t]Global Variable:

Implemented LDA in GraphLab Used collapsed Gibbs sampling for LDA as test App. GraphLab Formulation: Doc 1 Doc 2 Doc 3 Word A Word B Word C Word D {#[w,d,t], #[w,d]} #[d,t] #[w,t] #[t]Global Variable: Resample #[w,d,t] using: Update: #[d,t], #[w,d,t], #[w,t]

Implemented LDA in GraphLab Used collapsed Gibbs sampling for LDA as test App. GraphLab Formulation: Doc 1 Doc 2 Doc 3 Word A Word B Word C Word D {#[w,d,t], #[w,d]} #[d,t] #[w,t] #[t]Global Variable: Resample #[w,d,t] using: Update: #[d,t], #[w,d,t], #[w,t]

GraphLab LDA Scaling Curves Factorized is close to exact parallel Gibbs sampling! Only uses “stale” topic counts #[t] Cached system with 2 update lag Need to evaluate lag effect on convergence

Other Preliminary Observations Pagerank on Y!Messenger Friend Network 14x speedup (on 16 cores) using new approaches GraphLab 12x speedup (on 16 cores) using original GraphLab? I suspect an inefficiency in functor composition is “improving” scaling LDA over new DHT data-structures Appears to scale linearly on small 4x machine deployments Keep’s cache relative fresh (2-3 update Lag) Needs more evaluation! Needs system optimization

Summary and Future Work We have begun to address the challenge of Natural Graphs After substantial engineering effort we have: Decomposable Update Functors Abelian Group Caching: Eventual consistency Stochastic Scopes Plan to evaluate on following applications LDA (both collapsed Gibbs and CVB0) Probabilistic Matrix Factorization Loopy BP on Markov Logic Networks Label Propagation on Social Networks

Carnegie Mellon Checkout GraphLab 77 NIPs Workshop on Large-Scale Learning Questions & Feedback

GraphLab LDA Scaling Curves

Carnegie Mellon Problems with GraphLab

Problems with the Data Graph How is the Data Graph constructed? Sequentially and in physical memory by the user graph.add_vertex(vertex_data)  vertex_id; graph.add_edge(source_id, target_id, edge_data); In parallel using a complex binary file format Graph Atoms: Fragments of the Graph How is the Data Graph stored between runs? By the user in a distributed file-system No notion of locality No convenient tools to read the output of GraphLab No out-of-core storage  limit size of graphs 80

Solution: Hadoop/HDFS DataGraph Graph Construction and Storage using Hadoop: Developed a simple AVRO graph file format Implemented a reference AVRO graph constructor in Hadoop. Automatically sorts records for fast locking Simplifies computing edge reversal maps Tested on a subset of the twitter data-set Hadoop/HDFS manages launching and post-processing Hadoop streaming assigns graph fragments Output of GraphLab can be processed in Hadoop Problem: Waiting on C++ ScopeRecord { ID vertexId; VDataRecord vdata; List NeighborsIds; List EdgeData; } ScopeRecord { ID vertexId; VDataRecord vdata; List NeighborsIds; List EdgeData; }

Out-of-core Storage Problem: What if graph doesn’t fit in memory? Solution: Disk based caching. Only completed design specification Collaborator is writing a mem-cached file-system In Physical Memory Local Scope Map: Local VertexId  File Offset Out-of-Core Storage Scope Record Vdata EdataVdata Adj. Lists EdataVdataAdj. List Local Vertex Locks EdataAdjacency Lists Scope Record DHT Distributed Map: VertexId  Owning Instance Remote Storage Object Cache Fail