Boost Based High Performance Tracker Server Design & Implementation and Stress Test

Author
XuZuo
Advisor
HuangJiaQing
School
Huazhong University of Science and Technology
Major
Communication and Information System
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2008
Downloads
64
Citations
2

Request the full text

Abstract

Boost is an open source and highly portable C++ library. It is intended to be widely useful, supporting function binding, smart pointer, various data structures, graph algorithms, string processing, grammar parsing, network programming, and so on. ASIO is part of Boost library which provides developers with an asynchronous I/O model.Tracker server cluster is an important part of a peer to peer application. It traces the resources information held by each peer and provides query services to all peers in the network. As the entry of a peer to peer network, tracker server cluster is required to process much faster and more robust with higher capacity. These features are critical for a tracker server cluster. This thesis analyzes how to design and implement a capacity-scalable tracker server cluster with the library mentioned above.Firstly, from robust aspect, this thesis compares the multi-thread model and the asynchronous I/O model; then from performance view, compares the insertion, deletion, query operations between hash map of STL (Standard Template Library) and multi index container with hashed index of boost library. Finally, Boost with Multi-Index Container library is chosen to establish the mappings between peers and resources; also optimizations are applied considering the fact that the number of resources is greatly larger than the number of users.At last, for the purpose of stress testing and accuracy testing, based on JSON grammar, the thesis suggests a script that supports pattern and expression evaluations, to describe the testing progress, including packets definition, packets sending frequencies, peers’life cycle and all the other necessary parameters needed.

Table of contents

Abstract 4-5 ABSTRACT 5-9 1 Introduction 9-11 1.1 topics background 9 1.2 significance 9-10 1.3 content and structure of this study 10-11 2 Technical background 11-32 2.1 Boost introduction 11-18 2.2 JSON introduce 18 2.3 ASIO introduction 18-22 2.4 server concurrency model 22-31 2.5 Summary 31-32 3 system analysis and architecture 32-47 3.1 system modules interact 32-33 3.2 server's message Category 33-35 3.3 internal data structures 35-40 3.4 server message processing 40-41 3.5 server architecture 41-42 3.6 security issues 42-43 3.7 server statistics collection 43-46 3.8 chapter Summary 46-47 <br / > 4 test module analysis and design 47-55 4.1 requirements Analysis 47-48 4.2 script syntax definition 48-51 4.3 design and implementation 51-54 4.4 Summary 54-55 5 system performance test 55-59 5.1 test UUIDHashSet 55 5.2 test server performance 55-57 5.3 online test a single server 57-58 5.4 Summary 58-59 6 Summary and Outlook 59-60 6.1 work Summary 59 6.2 development 59-60 Thanks 60-61 <br / > References 61-63

Related dissertations

  1. Image Retrieval Algorithm Based Image Intelligent Design
    QiaRui ·South China University of Technology ·2013 ·Master's thesis
  2. The Research and Implementation of the Mobile Learning System on Android Platform
    ZhengJuJie ·Zhejiang Normal University ·2013 ·Master's thesis
  3. The design of intelligent Home Furnishing system based on PSIA
    GuoHongFei ·Fudan University ·2012 ·Master's thesis
  4. Implementation of the Direct Reporting Platform of Epidemic Based on Android
    WeiJun ·Lanzhou University ·2012 ·Master's thesis
  5. The process of multi threading model (M:N) study
  6. The Design of Access Management&Monitoring System Based on Embedded Linux
    LiShaoLin ·Shandong University ·2013 ·Master's thesis
  7. The Research and Design of Rank-Management System Based on ExtJS
  8. The Design and Implementation of Arauthoring Module of Industrial Support System
    ZhangJie ·Nanjing University ·2013 ·Master's thesis
  9. The Client Research and Design of Electric Power Enterprise Production Management System Based on Android
  10. Research and Implementaion of Communication System Based on JSON
    XingSiWei ·Anhui University ·2013 ·Master's thesis
  11. Design and Implementation of a Web Application System Based on WCF and jqGrid
    SuZuo ·South China University of Technology ·2012 ·Master's thesis
  12. Research and Implementation of Android Client of Enterprise Information Management System
  13. The Design and Implementation of Mobile Application "Moving"
    DuBin ·Nanjing University ·2013 ·Master's thesis
  14. Design and Implementation of the Mobile Terminal Application Hotspot Based on Android Platform
    LiuBin ·Sun Yat-sen University ·2011 ·Master's thesis
  15. The Design and Implementation of the Kunming Railway Kunming Power Supply’s Test Data Processing and Analysis System
    TuLi ·Yunnan University ·2013 ·Master's thesis
  16. The Design and Implementation of Mobile Learning Platform Based on Android
  17. Design and Implementation of Blog System Based on Node.JS
    PengNa ·Dalian University of Technology ·2013 ·Master's thesis
  18. Design and Realization of Storage Subsystem of Distributed Relational Database
  19. Design and Implementation of Android-Web Dual-mode Teaching Platform Based on MVC
  20. Scalable I / O research and reference implementation
    SunNingZuo ·Institute of Computing Technology ·1999 ·Doctoral dissertation