Research and Implementation of JTang Message-oriented Middleware V3.0

Author
DingXiaZhen
Advisor
YinJianWei
School
Zhejiang University
Major
Applied Computer Technology
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2008
Downloads
64
Citations
2

Request the full text

Abstract

Messaging middleware for distributed applications to provide a flexible , efficient and reliable asynchronous messaging mechanism . Java Message Service (Java Message Service, JMS) , Sun proposed to solve the difficult issue of interoperability between heterogeneous messaging middleware options . The paper combines national support schemes Province, a major scientific and technological projects, based on existing research , the development the Qiantang the messaging middleware V3.0 version , focusing on solving the high-performance persistent file - based storage scheme , based on the system load balancing control flow and an appropriate message caching scheme to bridge different JMS server message bridge , and the design of multi - mode client key technologies . Expensive overhead for database persistence storage performance persistent file - based storage scheme . The program consists of a two-tier storage model : an application to access the interface layer and the file storage layer ( core module ) . The nature and characteristics of the file storage layer is a message file storage container table , the specific implementation of the message the container table , and the index file and the data file , the data file is to save the message entity files , index files in order to Quick positioning data files . The experimental test , the program has a higher efficiency , more than three times better than the performance of the database stored in the same environment . Load balancing , client flow control the appropriate message cache to maintain the stability of the system . In this scheme , the memory resources of the server , the client sends speed into different grades . Memory resources collected by a special thread series of levels set in accordance with the acquisition memory usage , and determine whether the message cache . Finally , according to the same environment , the system uses the policy before and after the test , the program proved to be able to maintain the system 's load balancing . Different JMS server communication difficult problem proposed the message bridge programs can bridge different JMS servers . The program uses a client can do such a decoupling of the message bridge function , and do not have to consider both ends of the implementation details of the server . It also provides a multi - mode client , including the C client and Web service client .

Table of contents

Abstract 3-4 Abstract 4-12 Chapter 1 Introduction 12-21 1.1 Background and significance 12-16 1.1.1 Middleware Overview 12-13 1.1.2 messaging middleware 13-15 1.1.3 Java Message Service 15-16 1.2 messaging middleware Research 16-18 1.3 subject background and work 18 1.4 papers organizational structure 18-20 1.5 This chapter Summary 20-21 Chapter 2 system overall design 21-32 2.1 JMS specification 21-25 2.1.1 JMS entity 21-22 2.1.2 JMS messages pass types 22-23 2.1.3 JMS applications composed 23-24 2.1.4 JMS interface and class structure hierarchy diagram 24-25 2.2 JTangMO system introduced 25-31 the 2.2.1 JTangMQ architecture 25-27 the 2.2.2 JTangMQ the architecture model 27-29 the the 2.2.3 JTangMQ features 29-30 2.2.4 problems and shortcomings 30-31 2.3 This chapter Summary 31-32 Chapter 3 persistent file-based storage news 32-45 3.1 news persistence storage overview 32 3.2 messages persistent storage method 32-34 3.2.1 traditional database storage 32-33 3.2.2 file-based storage 33-34 3.3 file storage persistence method designed to achieve 34-38 3.3.1 storage model 34 3.3.2 Access Interface Layer 34-35 3.3.3 file storage layer 35-38 3.4 file access process persistent messages to 38-41 3.4.1 store persistent messages 38-39 3.4.2 reads persistent messages 39-40 3.4.3 delete the nbsp persistent the message ; 40-41 3.5 module performance validation 41-44 3.5.1 test environment 41-42 3.5.2 Test Results 42-44 3.6 This chapter Summary 44-45 Chapter 4 flow control and message buffering method 45-56 4.1 Overview 45 4.2 The main algorithm introduced 45-50 4.2.1 server-side parameter setting 45-47 4.2.2 soft reference algorithm 47-49 the 4.2.3 message buffering thread 49-50 4.3 specific flow control and message buffering to achieve 50-52 4.3.1 algorithm specific steps 50-51 4.3.2 algorithm processing flow chart 51-52 4.4 module test 52-55 4.4.1 test environment 52 4.4.2 Test Results 52-55 4.5 of this chapter Summary 55-56 the of Chapter 5 messages bridges and multi-mode client design 56-68 5.1 messaging bridge design 56-60 5.1.1 design ideas 56-57 the the 5.1.2 key technology solutions 57-58 5.1.3 key process described 58-60 5.2 C client design 60-64 5.2.1 program 60-61 5.2.2 key technical processes 61-63 5.2.3 C client application examples 63-64 5.3 Web Service client design 64-67 5.3.1 design framework 65 5.3.2 Web Service server-side 65-66 5.3.3 Web Service client example 66-67 5.4 This chapter Summary 67-68 Chapter 6, system implementation and performance analysis 68-79 6.1 class diagram of the various modules 68-71 6.1.1 file storage module 68-69 6.1.2 Flow control and message cache module 69-70 6.1.3 message bridge module 70-71 6.2 system console 71-75 6.2.1 file storage console 71-73 the the 6.2.2 message bridge console to achieve 73-75 6.3 system performance test 75-78 6.3.1 test environment 75-76 6.3.2 Test Results 76-78 6.4 This chapter Summary 78-79 Chapter 7 Summary and Outlook 79-81 7.1 papers mainly work 79-80 7.2 Future Work Looking 80-81 the References 81-83 Acknowledgements 83-84 of resume The 84

Related dissertations

  1. An Empirical Study on the Performance of Chinese Mutual Funds
    CaiZuo ·Shanghai Jiaotong University ·2013 ·Master's thesis
  2. Research on Persistence in Market Timing Ability of Bond Fund Managers
    FanYangJun ·Shanghai Jiaotong University ·2013 ·Master's thesis
  3. Accounting Conservatism, Earnings Persistence, and Accruals Anomaly
  4. Research on Common Persistence in Conditional Variances Theory and Its Application
  5. Multi-scale Analysis of RMB Exchange Rate Based on Wavelet Theory
    HaoWeiWei ·East China Jiaotong University ·2013 ·Master's thesis
  6. Su Art
    WangChenGuang ·Dalian Polytechnic University ·2010 ·Master's thesis
  7. Volatility of Freight Rate in VLCC Shipping Market
    QuShengBin ·Dalian Maritime University ·2013 ·Master's thesis
  8. A Research on the Land Price Inlfation Persistence in China Based on Bayesian Method
    HuJinWu ·Hunan University ·2013 ·Master's thesis
  9. Analysis on Some Properties of Stochastic Population Systems
    LiuMeng ·Harbin Institute of Technology ·2012 ·Doctoral dissertation
  10. Study on the Stability and the Bifurcation of SEIR Epidemic Model
  11. Qualitative Analysis on a Class of Predator-prey Systems with Holling-IV Type Functional Response Function
  12. Asymptotic Properties of Some Impulsive Competition Systems
    ChuYu ·Shaanxi Normal University ·2013 ·Master's thesis
  13. The Study of Some Predator-pery Models with Impulsive Control and Periodic Coefficient
    LiuKaiLi ·Shaanxi Normal University ·2013 ·Master's thesis
  14. Persistence and Nonpersistence of a Nonautonomous Mutualism System with Random Perturbation
    ZhengXiaoZuo ·Northeast Normal University ·2013 ·Master's thesis
  15. The Qualitative Research on Two Kinds of Lotka-Volterra Models with Continous Capture
    BaiQuanSheng ·Hunan University ·2013 ·Master's thesis
  16. The Research of Dynamics Character of Several Kinds of Discrete Population System
    FangQiBin ·Hunan Agricultural University ·2013 ·Master's thesis
  17. Study on the Stability of Epidemic Model of Viruses Mutate
  18. Qualitative Research on Solutions of Several Delay Stage-Structured Biological Models
    ChenNing ·Anhui University ·2014 ·Master's thesis
  19. The Study of Two Kinds of Infectious Disease Model with Satu-Rated Time Delay Incidence Rate
    LiuYunFeng ·Shanxi Normal University ·2014 ·Master's thesis
  20. The Study on Control of Cyanophytes Systems with Different Removal Rate
    LinBo ·Shanxi Normal University ·2014 ·Master's thesis