Reseach and Implementation of Distributed comet Framework

Author
RenZhiPing
Advisor
YuanBo
School
Shanghai Jiaotong University
Major
Computer Software and Theory
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2011
Downloads
82
Citations
0

Request the full text

Abstract

With the development of Web 2.0 technologies, Internet applications, a higher demand, the first applications require high real-time, better interactivity; Furthermore, the system needs to carry a greater amount of concurrency, better telescopic and reliability. Distributed comet framework is an HTTP-based real-time message push framework to meet the development needs of the rapid development of Internet applications with real-time interactive capabilities, and for developers to address the following issues: 1) hidden the complex AJAX program development; ) Hide browser and platform compatibility issues; 3) to hide the complexity of the client and server communication problems; 4) to hide the complexity of concurrent and distributed. This paper argues that there are two problems for the comet frame technology, the first question is: Although there has been in existence a more AJAX as well as message push framework, but the framework of the implementation of technology and communication protocol due to different manufacturers differences, lack of consistent, accurate architectural concepts to describe. The second question is: multi-core has become the development trend of software execution environment, the most important issue facing how to use more CPU cores to improve application performance and scalability issues of the comet as the language of concurrency model. But mainstream Comet framework concurrency model multicore crisis. Currently JAVA language CometD framework to become the de facto standard in the industry, CometD framework done a lot of innovative work in the field of study of the comet technology and performance than similar products with excellent performance, this paper to analyze CometD to done on the basis of the following three parts a, the realization of the principle of Java multi-threading model, testing and evaluation of the performance of the Java concurrency model to assess the results, we found that the migration of Java multi-threading model in the multi-core environment thread poor performance and scalability, and then we analyzed the strategies to improve concurrency model, and compared Actor concurrency model with Java multi-threaded model, the result of the comparison is the Actor model of concurrency, multifaceted performance of the application will be significantly improved . Second, the analysis of a variety of mainstream AJAX and Comet framework and abstract the commonality of their nature, in contrast to the basis of the REST architectural style, this paper presents the SPIAR architectural style, the architectural styles with enhanced interactive, real-time news, conducive to the consistency of the data, and so on. Of the architectural style of the proposed design method for the Comet framework proposed on the basis of technical vastly different purpose is to describe a unified architectural style, the advantages of doing so are: 1) design reusable, and to facilitate the application of the program to new problems; 2) the design is easy to understand, easy to communicate. Using the Erlang support concurrent and distributed nature, design and realized MyComet framework. Compared in CometD framework MyComet do major improvements: 1) the use of the advantages of Erlang able to create a large number of processes to support higher concurrent requests; 2) communication between the server inter-process communication, allows the system to have a better communication efficiency and fault tolerance; 3) improved the message was routed, fully transparent distributed processing. The last article given performance testing framework MyComet.

Table of contents

Abstract 3-5 ABSTRACT 5-11 Chapter 1 Introduction 11-15 1.1 Background 11-12 < br /> 1.2 COMET research status 12-13 1.3 issues and significance of this study 13-15 Chapter art and problems 15 -24 2.1 front-end technology 15 2.2 distributed technologies and issues 15-19 2.2.1 distributed communication Technologies 15-16 < br /> 2.2.2 distributed systems paradigm 16-18 2.2.3 framework program distributed problems 18-19 2.3 mainstream framework analysis 19-22 2.3.1 Echo2 framework 19-20 2.3.2 GWT framework 20 2.3.3 BackBase framework 20-21 2.3.4 Dojo and cometd framework 21-22 2.3.5 Comet frame design problems 22 2.4 Summary 22-24 < br /> Chapter III program concurrency model studies 24-41 3.1 concurrency model Overview 24-25 3.2 research problem and motivation 25-26 3.3 JAVA concurrency model assessment 26-34 3.3.1 thread mapping 26-27 3.3.2 undue reliance on model performance platform 27-29 3.3.3 thread migration loss in performance multicore environments big 29-31 3.3.4 multicore environments poor scalability 31-34 3.4 concurrency model improvement strategies 34-40 3.4.1 the choice of language analysis 37-40 3.4.2 select Erlang reasons 40 3.5 Summary 40-41 Chapter architecture 41-55 4.1 Overview 41-43 4.1.1 architecture design sense 41-42 4.1.2 schema content and design methods 42-43 4.2 architecture design problems with motivation 43 4.3 architecture style 43-48 4.3.1 architectural characteristics of abstraction 43-44 4.3.2 comparison of architectural styles 44-46 4.3.3 SPIAR architecture style made ?? 46-48 4.4 schema elements and architectural view 48-52 4.4.1 data connection , the processing unit 48-50 <br / > 4.4.2 schema View 50-52 4.5 Summary 52-55 CHAPTER framework functional design 55-78 5.1 framework Design problems with motivation 55 5.2 system functional goals 55-56 5.3 communication methods and protocols 56-63 5.3.1 client and between servers 56-59 5.3.2 server communication 59-62 5.3.3 communication protocol 62-63 5.4 overall system architecture 63-65 5.5 link module design 65-69 5.5.1 work content 65-66 5.5.2 CometD program advantages and disadvantages 66-67 5.5.3 improved scheme 67-69 5.6 message routing design 69-73 5.6.1 work content 69 5.6.2 CometD solutions and the advantages and disadvantages 69-71 5.6.3 improved scheme 71-73 5.7 event mechanism design 73-76 5.7.1 work content 73 5.7.2 CometD program 73-74 5.7.3 alternatives 74-76 5.8 fault-tolerant mechanism design 76-78 5.8.1 remote error handling mechanism 76-77 5.8.2 capture process exit 77-78 Chapter VI performance comparison test 78-83 6.1 testing purposes 78 6.2 test environment 78-79 6.3 test Description and Data 79-81 6.4 analysis of test results 81-83 Chapter Summary and Outlook 83-85 7.1 work Summary 83-84 7.1.1 the main contribution 83 7.1.2 inadequacies 83-84 7.2 future Prospects 84-85 References 85-89 Thanks 89-90 papers published during the master 90-91 Shanghai Jiaotong University master's degree thesis written resolutions 91-93

Related dissertations

  1. "PX" Issues under the Construction of Multiple Discourses
    ChenMingHui ·Anhui University ·2014 ·Master's thesis
  2. Research and Implementation of the Microblogging Content Distribution System
    WangZhenXing ·Tianjin University ·2012 ·Master's thesis
  3. Study on the Distributed Optical Fiber Acoustic Emission Sensor
    QuDanDan ·Harbin Engineering University ·2013 ·Master's thesis
  4. Complex Network Environment of Distributed Network Management and Software Implementation
  5. A Design and Development of Operation and Maintenance System for Zhejiang Social Security Center
    HeMingTao ·Zhejiang University of Technology ·2013 ·Master's thesis
  6. Research and application of pushing send technology of server cluster based on
  7. Research and Design of Distributed Vertical Search Engine Based on Hadoop
    JieYaoWei ·Hebei University of Technology ·2012 ·Master's thesis
  8. The Research of Distributed Topic Detection Method
    XiaoJuan ·Harbin Institute of Technology ·2012 ·Master's thesis
  9. Design and Implemention of High Performance Text Clustering Algorithm Basic on Hadoop
    LinJiPo ·Northwest Normal University ·2013 ·Master's thesis
  10. The Development and Realization of Scenario Thesaurus Based on Machine Learning
    DiZuo ·South China University of Technology ·2013 ·Master's thesis
  11. Research on text clustering algorithm based on Cloud Computing
  12. Parallel distributed processing and application in rendering based on
  13. Design and Implementation of Distributed MySQL Database Cluster Online Monitoring System
    HuangXu ·Harbin Institute of Technology ·2012 ·Master's thesis
  14. Technology Research of the Distributed Networked Digital Equipment Datewarehouse
    PanLiang ·Harbin Engineering University ·2013 ·Master's thesis
  15. Skyline Queries for Moving Objects under Distributed Environment
    FanMingSuo ·Ningbo University ·2013 ·Master's thesis
  16. Research on Distributed Mining of Association Rules Algorithm Based on MapReduce
    FanYanYan ·Harbin Engineering University ·2013 ·Master's thesis
  17. Research on Top-k Queries Optimizing Algorithm on Uncertain Dataset
    YuYang ·Northeastern University ·2013 ·Master's thesis
  18. Application Research of Distributed Query and Optimization Method Based on Metadata
    ZengYanMei ·Donghua University ·2014 ·Master's thesis
  19. The Design and Implementation of Distributed File System Based on Linux
  20. Design and Implementation of Visual Search-based Advertising Information Augmentation System
    LiuXiaoHui ·Sun Yat-sen University ·2013 ·Master's thesis