Research and Implementation of Adaptive Distributed Data Communication Library

Author
ZhaoHua
Advisor
HeXiaoJian
School
South China University of Technology
Major
Applied Computer Technology
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2013
Downloads
1
Citations
0

Request the full text

Abstract

With the development of computer technology and the popularity of applications, thedistributed systems had to face different system platforms, multiple operating systems,heterogeneous network environment. Messaging middleware structure loosely coupleddistributed systems of communications solutions. By shielding the heterogeneity of theunderlying operating system and network platform, the application software can be a smoothrun on different platforms. But now the middleware based on proxy server, are complex,bloated and low efficiency, not suitable for an embedded environment, so we urgently need adata communication library environment suitable for an embedded environment.In this paper, the main work was designed and implemented distributed adaptive datacommunication library based on open source libevent and openpgm, the library has thesimplicity, ease of use and efficiency. In order to improve the usability of the system, thelibrary using unified naming service to shield the distributed communication system networkunderlying implementation details, it unified inner-process communications, inter-processcommunication, programming between the host,. In order to improve the communicationefficiency of the library, using “big small Pointers” point to the the message to improve theefficiency of system memory allocation, using batch processing message to decrease thenumber of calls for system, using the lock-free queue data structure to reduce thread waits fora message queue, and using unlocked thread communication model and the synchronous andasynchronous concurrent model to improve the response speed of systemFinally, the functionality and performance testing show that the adaptive datacommunication library based on a unified naming service could be for adaptivecommunication, and the communication performance is higher than the open sourcemessaging middleware RabbitMQ, ActiveMQ, so it is suitable for an embedded environment.

Table of contents

Summary 5-6 Abstract 6-10 first chapter 10-15 background and significance of 1.1 papers 10 -11 1.2 Research Status 11-12 1.3 research 12-13 1.4 papers structural arrangements 13-15 Article two chapters related technical overview 15-26 2.1 event processing technologies introduced 15-18 2.1.1 Libevent About 15 2.1.2 libevent 's event event management 15-16 event processing 2.1.3 libevent of 16-17 2.1.4 libevent of Reactor model 17-18 2.2 multicast technologies introduced 18-24 2.2.1 Introduction to Multicast 18-19 2.2.2 Pragmatic General Multicast related presentations 19 -23 2.2.3 Pragmatic General Multicast works 23-24 2.3 memcached About 24-25 2.4 Summary 25-26 Chapter III architecture adaptive distributed data communication libraries 26-40 3.1 system design goals 26-27 3.2 system using scene 27-28 overall system architecture 3.3 28-38 3.3.1 communication component interface design 29 3.3.2 message management 29-34 3.3.3 messaging layer 34-36 3.3.4 messaging layer 36-38 3.4 Summary 38 - Chapter 40 achieve adaptive distributed data communication libraries achieve 40-65 4.1 message queue 40-43 4.1.1 lock queue concrete realization 40-42 4.1.2 message queue API designed nbsp 42-43 4.2 distributed data communication libraries ; 43-45 4.2.1 message operator Interface 43-44 4.2.2 system operator Interface 44-45 4.3 message management to achieve 45-51 4.3.1 initialization communication libraries achieve 47-48 4.3.2 no lock -thread communication model 48-50 4.3.3 communication nodes and message queue management 50-51 4.4 messaging layer implementation 51-56 4.4.1 message Structure 52-53 4.4.2 extract messages and message formats conversion 53-54 4.4.3 message format and message transformation package 54-56 4.5 messaging layer implementation 56-64 4.5. a thread between the sending and receiving of messages 57-59 4.5.2 process between sending and receiving messages between 59-61 4.5.3 host to send and receive messages 61-62 nbsp 4.5.4 sending and receiving multicast messages ; 62-64 4.6 Summary 64-65 Chapter V system testing 65-69 5.1 LIBMQ overall performance test 65-66 5.1.1 test environment 65 5.1.2 testing purposes and programs 65 5.1.3 test Results and Analysis performance testing 65-66 5.2 lock queue 66-67 5.2.1 test environment 66 5.2.2 testing purposes and programs 66-67 5.2.3 test Results and Analysis 67 5.3 LibMQ, ActiveMQ, RabbitMQ performance test 67-68 5.3.1 test environment 67 5.3.2 testing purposes and programs 67-68 5.3.3 test Results and analysis 68 5.4 summary 68-69 summary and Outlook 69-70 References 70-72 <br / > PhD / Master's degree obtained during research 72-73 Thanks 73-74 thesis defense committee assessed the views of 74

Related dissertations

  1. Complexity Research of Innovation Subject Base on System Science
  2. Applied Research of the Oligopoly Game Model in Insurance Market
    XuWei ·Tianjin University ·2012 ·Master's thesis
  3. Fault Detection Mechanism in the Cloud Environment
    LiLiang ·Central South University ·2012 ·Master's thesis
  4. Study of Batch Process Monitoring Based on Process Data
  5. Batch process monitoring based on multiway principal component analysis
  6. Statistical Modeling and Online Monitoring for Uneven-length Batch Processes
    JinJianYing ·Northeastern University ·2012 ·Master's thesis
  7. Research on Adaptive Three-dimensional Measurement Method and Reconstruction Using Multi-line Structured Light
  8. Research on Iterative Optimization Control Methods for Batch Process Considering the Model Error
    LiShuo ·Northeastern University ·2012 ·Master's thesis
  9. Industrial Process Monitoring Based on Kernel Partial Least Squares
    HuYi ·East China University of Science and Technology ·2014 ·Doctoral dissertation
  10. Sliding Mode Control of Uncertain Systems in Case of Actuator Failures
  11. The Improved Genetic Algorithm Based on Cloud Model Research
    JiangMingZuo ·Liaoning Normal University ·2013 ·Master's thesis
  12. Study on Improving Cellular Multi-objective Genetic Algorithm and Its Application in the Engineering Optimization
    LuChao ·Three Gorges University ·2013 ·Master's thesis
  13. Synchronization Analysis of a Class of Complex Biological Neural Network
    DanDan ·Donghua University ·2014 ·Master's thesis
  14. Particle Swarm Optimization Based Dynamic Optimization Research
    ZhouYou ·Zhejiang University ·2014 ·Master's thesis
  15. Analysis and Control of the Synchronization of Neuron Networks
    JiaChenHui ·Tianjin University ·2010 ·Master's thesis
  16. A Monitoring Method of Unequal Length Batch Processes Based on FVS-BDKPCA
    ZhaoBiao ·Northeastern University ·2012 ·Master's thesis
  17. Applications of Modified Differential Evolution in Fractional Order Control Systems
    ZhouXiaoLiang ·Harbin Engineering University ·2013 ·Master's thesis
  18. Research on Adaptive Control in Two Application Examples of Electrical and Mechanical
    ZhaoHouRu ·Hefei University of Technology ·2014 ·Master's thesis
  19. Information Automatic Extraction and Analysis Approach on Financial Sector
    MaJingJing ·Harbin Institute of Technology ·2013 ·Master's thesis
  20. Research and Design of Microblog Topic Tracking Method
    WangHui ·Beijing Jiaotong University ·2014 ·Master's thesis