Study and Design of a Concurrent Message Bus Based on ACE Framework

Author
WangBoTian
Advisor
LiaoJianXin
School
Beijing University of Posts and Telecommunications
Major
Computer Science and Technology
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2008
Downloads
187
Citations
3

Request the full text

Abstract

Message Oriented Middleware (MOM) is an important branch of Middleware and it provides an asynchronous, loosely coupled framework for distributed application system. Since its method embodies the trends of modern software technology, it has been widely applied to enterprise application integration and distributed computing in many fields.Message Bus (MB), with its unique advantages, has significantly accelerated the development of integrated application system by injecting a powerful driving force into it. It is mainly used to establish the network communication channel and its strong point is that it can provide synchronous and asynchronous communication mechanism among the clients and the servers. It’s applicable to distributed environment of multi-process communication and is very capable of fulfilling cross-platform operation to support application software running on different operating systems. Insomuch, MB frees the advanced applications based on it from the complexity of net-communication processing and enables them to concentrate on practical logic design and development so as to achieve the purposes of simplicity, efficiency and extensibility in a distributed environment.This paper is mainly focused on two key problems of MB server; they are concurrency model and memory management. We design a model which is based on ACE concurrent service components for process synchronization and introduce a technique for memory-pool assignment and put them into practice in the design of a MB system that is MTBus.Chapter I gives first a general view of the ACE communication framework and message middleware technology, then it introduces the Mobile Intelligent Network Management System which is based on MB architecture. The disadvantages of the system and the direction for designing an MTBus system are also concluded in this chapter.Chapter II expounds in general the aims and the function definitions of MTBus system and its design.Chapter III introduces in detail the design and implement of the system’s components including their communication message, machine communication module, name information management module, message pool management and message process module.Chapter IV describes three key techniques to designing an MTBus system and their schemes.Chapter V shows the test results of MTBus system’s overall performance and points out its shortcomings in the practice of web-management system.In addition, MTBus system designed the consistent interfaces in client APIs with MRB system,so the application which based on MRB system can smooth migration to MTBus system。Now, the system has been used in Mobile Intelligent Network Management System and CRBT service quality evaluation system. the application Feedback has further proved that MTBus system has high concurrent processing capabilities and can prevent the message flood effectively. Meanwhile MTBus server provides many maintenance functions,which can help users control and manage the communication processes better.

Table of contents

Abstract 4-6 ABSTRACT 6-10 Foreword 10 I. Overview 10-18 1.1 ACE communication framework 10-13 1.1.1 ACE structure 11-12 1.1.2 ACE advantage 12-13 1.2 middleware technologies and message bus 13-14 1.2.1 Middleware Introduction 13 1.2.2 messaging middleware 13-14 1.3 mobile intelligent network management system message bus application 14-18 1.3.1 mobile intelligent network management system introduced 14-16 1.3.2 message bus -based system architecture 16-17 1.3.3 message bus MRB application analysis 17-18 two . MTBus overall system design 18-25 2.1 system design principles 18-19 2.2 system main function 19-20 2.3 overall system design 20-25 2.3.1 application layer communication component 21-23 2.3.2 server subsystem 23-25 three . MTBus System Server subsystem design 25-54 3.1 Functional view 25-28 3.2 Runs view 28-29 3.3 communication message 29-33 3.3.1 communication message design 29-31 3.3.2 communicate messages to achieve 31-33 3.4 underlying communication control module 33-38 3.4.1 reactor mode (Reactor) 33-36 3.4.2 key classes designed 36-37 3.4.3 processes 37-38 3.5 name information management module 38-42 3.5.1 Component view 39-40 3.5.2 key classes designed 40-42 3.6 Message pool manager 42-46 3.6.1 key classes designed 43-44 3.6.2 message distribution strategy 44-46 3.7 Message Processing Module 46-54 3.7.1 thread pool component 46-49 3.7.2 General tasking component 49-54 four . MTBus System Server Subsystem key technology research and design 54-71 4.1 server concurrency model 54-65 4.1.1 circulation server model 54-55 4.1.2 concurrent server model 55-62 4.1.3 MTBUS system server concurrency model 62-63 4.1.4 concurrent performance testing 63-65 4.2 pooled memory management mechanism 65-69 4.2.1 ACE memory allocator 65-66 4.2.2 memory pool design 66-69 4.2.3 memory pool performance test 69 4.3 load balancing and fault tolerance mechanisms 69-71 five . MTBus system performance evaluation and application 71-74 5.1 system performance analysis 71-72 5.2 applications and limitations 72-74 Conclusion 74-75 References 75-77 Thanks 77-78 papers have been published during the master's degree 78

Related dissertations

  1. Design and Implementation of the Concureent MessageBus Server Subsystems Based on ACE Framework
  2. Research of RFID-based Commodity Anti-counterfeiting and Traceability System Technology
  3. Research of Component Supported Digital Media Middleware Technology
  4. The Design and Implementation of a Virtual Instrument Based on IEEE802.15.4Protocol
    LinChuan ·Northeastern University ·2013 ·Master's thesis
  5. The Design and Implementation of High Layer Protocol Stack of TD-SCDMA on ARM
    ZhangLei ·Xiamen University ·2014 ·Master's thesis
  6. Design and Implementation of a Lightweight Communication Framework
    RongGuanJie ·Jilin University ·2013 ·Master's thesis
  7. Dedign of Data Server Software for Intelligent Bus Scheduling System
    LiZhuQing ·Zhejiang University of Technology ·2013 ·Master's thesis
  8. Research on Network Topology Discovery Method Based on OSPF and SNMP
  9. Key Technology Research and Implementation of the High-performance HTPP Proxy Server
    ZhouWei ·Harbin Engineering University ·2012 ·Master's thesis
  10. The Research and Design of Distributed Search Engine Cluster Based on Lucene
  11. Research on Image Detection Methods and Key Technology Based on Subpixel
    AiHongGan ·Central South University ·2012 ·Master's thesis
  12. The Research and Implementation of Distributed Clustering Algorithm on Adaptive Technique and Service Message Bus
    LinJiaQin ·Shanghai University ·2012 ·Master's thesis
  13. Django-Based Testing Management System Design and Implementation
    ChenJian ·Beijing Jiaotong University ·2012 ·Master's thesis
  14. Research of Open Software Development Technology in Embedded System
  15. Design of application system integration of urban and rural planning based on MOM
    SuLePing ·Fudan University ·2012 ·Master's thesis
  16. Design and Implementation of Monitor System for Dangerous Goods Transprot
  17. Design and Implementation of the Automatic Deployment Module for Cloud Platform
    ZhangHaiRui ·Harbin Institute of Technology ·2013 ·Master's thesis
  18. Design and Implementation of Gene Mutation Simulator
    GaoYang ·Harbin Institute of Technology ·2013 ·Master's thesis
  19. Concurrent Data Structures with Applications in Dynamic Memory Management
    LiuHeng ·Chongqing University ·2013 ·Master's thesis
  20. Research of Storage Management in Main Memory Database