Design and Implementation of Data Partitioning in BSP-Based Big Graph Processing System

Author
GaoFeng
Advisor
BaoYuBin
School
Northeastern University
Major
Computer Software and Theory
Classification
TP391.41 Image recognition device
Degree
Master's thesis
Year
2012
Downloads
2
Citations
0

Request the full text

Abstract

Extracting knowledge by performing computations on graph is becoming increasingly challenge as graphs grow in size. Modern graph datasets are huge. Such as FaceBook, twitter, RenRen, the amount of data is very huge. Traditional graph processing tools are difficult to complete these calculations in such huge data set. It is urgent that a new graph processing system be developed. Google has developed a big graph processing system based on BSP model, called Pregel. This provides a guideline for the design and development of graph processing system. The most popular cloud computing technology provides technical supports for developing such system. However, any processing system can not avoid a problem that already exists that is graph partition problem. Disributed parallel processing in the cloud computing environment data need to be divided into multiple partitions. Data set is divided into multiple partitions and processed parallelly by the computeing nodes in the cluster. How to achieve a good partition remains a difficult and a great challenge.In order to solve the above problems, we borrow the idea from cloud computing programming model Hadoop which is a distributed parallel processing to develope a big graph processing system based on the BSP model that can handle large graph dataset. This thesis mainly discusses the design and implementation of data partitioning module of the system. The main contributions of this thesis are as follows. Firstly, Analysis graph computation features design and implement the data partitioning module of the system by borrowing the design idea from the existing graph process system. Provides complete user interface that users can set flexible. The users can use the default partitioning strategies or customize their own partitioning algorithms by the provided interface. Data partitioning module is working well in the system. It is integrated into the system. Secondly, we implemente three graph data paratitioning algorithms, which are range partitioning algorithm MD5-based hash partitioning algorithm, and balanced and optimized modulo hash algorithm based on virtual paratition. Thirdly, we implements the multiple imput formats support. We compare and analysis the similarity of HDFS and HBase storage design, integrate the input formats of HDFS and HBase and provides a unified interface design. The user can customize their own input format according to their needs. Finally, in order to achieve graph algorithms, wei provide the necessary support components, such as, Multi-threaded data sending based on RPC, ring buffer, global synchronization and optimizer, etc.The experimental results and the practical applications show that the data partitioning module of the big graph processing system has been implemented and reached the design goals of the system. It has good scalability and stability. We compare the performace of the three different data partitioning algorithms from load balance, communication const, time cost by many experiments. It is concoluded that the optimized and balanced hash paratitioning method has better performance. Range partitioning algorithm has the best performance when the data sets hava good local aggregation properties.

Table of contents

Abstract 5-6 Abstract 6-11 Chapter 1 Introduction 11-15 1.1 Background 11-12 Situation 1.2 Research 12-13 1.3 The main work 13-14 1.4 This article organizational structure 14-15 Chapter 2 Related technical Overview 15-29 2.1 Hadoop platform Introduction 15-18 2.1.1 distributed File System HDFS 15-16 2.1. 2 distributed database HBase 16-17 2.1.3 MapReduce programming model 17 2.1.4 Zookeeper Profile 17-18 2.2 available technical Overview diagram in Figure division processing system 18-22 2.2.1 Pregel and Hama in graph partitioning strategy introduced 18-19 2.2.2 Giraph and GPS in graph partitioning strategy describes 19-20 2.2.3 classic graph partitioning algorithm introduced 20-22 2.3 BSP model , RPC and hash technical Overview 22-28 2.3.1 BSP model introduced 22-24 2.3.2 RPC remote procedure call protocol describes 24-25 2.3.3 hash technical Overview 25-28 2.4 Chapter Summary 28-29 design nbsp Chapter 3 data partitioning modules ; 29-41 3.1 system Overview 29 -32 3.1.1 Overview of data into the module needs 29-30 3.1.2 module features Overview 30-31 3.1.3 performance requirements 31-32 3.2 data into the overall design of the module 32-33 3.3 supports multiple storage systems designed nbsp input module ; 33-35 3.3.1 distributed store data format 33-34 3.3.2 supports multi- system input module detailed design 34-35 3.4 data into sub-module design 35- 39 3.4.1 data into the framework of interface design 36-37 3.4.2 RPC-based multithreaded design data sent 37-38 3.4.3 global synchronization and global optimizer designed 38-39 3.5 Summary realize Chapter 4 data partitioning modules 39-41 41-55 4.1 development environment introduces 41-42 4.2 supports multi- storage system input module basic flow of 42-45 4.2.1 data Input established 42-43 4.2.2 Introduction to key functions to achieve 43-45 4.3 data into sub- modules to achieve 45-54 4.3.1 data partitioning framework achieve 46-47 4.3.2 RPC-based implementation of multi-threading data transmission 47-53 4.3.3 global synchronization and global optimizer to achieve 53-54 4.4 Summary 54-55 Chapter 5 Figure vertex number and partitioning algorithm to achieve 55-67 5.1 graph vertex number algorithm to achieve 55-58 5.2 classification algorithm based on MD5 Hash 58-59 5.3 for optimal balance algorithm based on virtual partitions modulo Hash of 59-64 5.4 Range partitioning algorithm 64-65 5.5 Chapter Summary 65-67 Chapter 6 experiments and analysis 67-73 6.1 PageRank algorithm description 67 6.2 test environment and test data shows 67-68 6.3 load balancing test 68-69 6.4 communications test 69-70 6.5 time test 70-72 6.6 summary 72-73 Chapter 7 summary and Outlook 73-75 7.1 This work summarizes 73-74 7.2 future Work Prospects 74-75 references 75-79 Thanks published during the 79-81 attack Shuo papers and participate in projects 81

Related dissertations

  1. Based on the study of manufacturing enterprise information strategy CSB Z company in Chongqing as an example
  2. A Gearman/MongoDB Based Transaction Monitoring and Reporting System Research and Implementation
  3. Design and Implementation of MPC System with Remote Model Error Detection
    ChenLiangLiang ·Xiamen University ·2014 ·Master's thesis
  4. Study on Clock Network Structure and Synchronization in Distributed Test System
  5. Design of distributed control system based on embedded platform
    JieZhouKai ·Xi'an Optics and Fine Mechanics ·2010 ·Master's thesis
  6. Design and Implementation of Car Embedded Systems to Multimedia Intelligent Terminal
    LiShun ·Northeastern University ·2012 ·Master's thesis
  7. Coordinated Control of Distributed Multi-agent Systems and Applications
    HouJian ·Zhejiang University ·2013 ·Doctoral dissertation
  8. Design of Meter Reading Systems
  9. Design and Implementation of a Distributed Microblog Crawling System
  10. Research and Implementation of Fault Recovery Mechanism in Large-scale Graph Processing System Based on BSP
    NingChao ·Northeastern University ·2012 ·Master's thesis
  11. Research on Automatic Recommendation in Story Visualization
    HaoYuZuo ·Tianjin University ·2012 ·Master's thesis
  12. Research on RDF Stream Data Partitioning Algorithm Based on Graph Model
  13. Research on Database Legacy System Migration to the Integrated Web Service
  14. Plan and Investigation of C Zone Urban Planning Management Information System
    ChenZuoChao ·Dalian University of Technology ·2013 ·Master's thesis
  15. Design and Implementation of Language LP for Log Parser
    LiuJunLong ·Harbin Institute of Technology ·2012 ·Master's thesis
  16. The Design and Implementation of Embedded Intelligent Vehicle Access Management System
  17. Distributed Electronic Health Record System Based on Middleware
    ZhangZuo ·Donghua University ·2014 ·Master's thesis
  18. The Official Credit Card Analysis System Design and Implementation
    WangJuGeng ·Tianjin University ·2012 ·Master's thesis
  19. Design of a Highly Reliable Financial Transaction Matching System with High Performance
    SunChangZuo ·Zhejiang University ·2014 ·Master's thesis
  20. Design and Implementation of Distributed Channel Management System Based on GTK+
    LiXiQiang ·Central China Normal University ·2014 ·Master's thesis