Research and application of pushing send technology of server cluster based on
- Author
- HuXiaoYan
- Advisor
- WangShuMei
- School
- Nanjing University of Technology and Engineering
- Major
- Software Engineering
- Classification
- TP393.05 Network equipment
- Degree
- Master's thesis
- Year
- 2014
- Downloads
- 23
- Citations
- 0
Abstract
With the continuous development of Internet technology, Internet applications (or named Web applications) also emerged. An important research aspect of web application is how to use the server’s initiatively push to complete the interaction between the client and server information,thus the server push technology (Comet) is presented along with it. Server Push technology has many species, DWR (Direct Web Remoting) is one of the more mature and broad scope of these technologies.DWR is based on the connection, so the server and the browser need to maintain a connection, then communicating. With the increasing amount of network users, the number of connections the server needs to be maintained also increased.However, each server can only maintain a certain number of connections, so when we have to consider the specific application with a large number of users, we should to use clustering techniques to accomplish the maintenance of connections, and then we can complete server push.This paper introduces the principle and related technologies of sever push,and DWR is selected as the main research object as the article.And then descripts the DWR specific operating principles of this framework, libraries, etc. And then integrates the DWR with MVC (Model-View-Controller), which is the most popular framework nowadays to provide a high-availability WEB programming framework. In addition, it studies the knowledge of server clusters, on this basis, a dynamic load-balancing algorithm is designed. The algorithm can be dynamically allocated processing request according to the real-time load information of the cluster, thus the cluster can operate in such a load balancing environment and long maintain its efficiency. This article will apply DWR push framework to the load-balanced server clusters, in order to achieve the cluster-based server push technology. The main techniques include how to push information and news with DWR and how to synchronize between cluster servers. Finally, the technique is applied to an actual WEB application development-enterprise microblogging system, discusses DWR push and clustering and load balancing technology in this system. Further verification of such a cluster-based DWR push technology is available.
Table of contents
Abstract 3-4
Abstract 4-5
catalog 5-7
1 Introduction 7-11
1.1 subject background and significance 7-8
1.2 Research Status 8-9
1.3 the main work 9-10
1.4 This article structure 10-11
2 server push technology and DWR 11-29
2.1 Comet generation and principle 11
2.2 Comet implementation of 11-13
2.2.1 is based on long polling ajax 11-12
2.2.2 Iframe and htmlfile flow based approach 12-13
2.3 to achieve server push technology 13-15
2.3.1 server-side code programming 13
2.3.2 to use a specific web server 13-14
2.3.3 use framework 14-15
2.4 DWR basic introduction 15-20
2.4.1 DWR Profile 15
2.4.2 DWR 's workflow 15-16
2.4.3 DWR basic library 16-20
2.5 DWR integration MVC framework 20-28
2.5. a basic SSH framework 20-24
2.5.2 DWR framework for integration with SSH configuration 24-28
2.6 chapter Summary 28-29
3 cluster design Overview 29-44
3.1 cluster 29-30
3.2 Web cluster load balancing 30-34
3.2.1 Web load clustering technology 30-32
3.2.2 load balancing algorithm 32-34
3.3 a dynamic load balancing algorithm based on feedback 34-37
3.3.1 algorithm principle 34-36
3.3.2 algorithm flow 36-37
3.4 apache tomcat cluster structures 37-38 <br / > 3.5 load balancing to achieve 38-40
3.5.1 load balancer side implementation 38-39
3.5.2 server -side implementation 39-40
3.6 algorithm validation and analysis 40-43
3.7 chapter Summary 43-44
4 clusters DWR push -based implementation 44-49
4.1 DWR three ways to push 44
4.2 cluster DWR push to achieve 44-48
4.2.1 ScriptSession creation and management 45-46
4.2.2 DWR push to achieve 46-47
4.2.3 DWR push cluster synchronization 47-48
4.3 chapter Summary 48- 49
5 clusters based DWR push in the enterprise microblogging realization 49-56
5.1 cluster to achieve microblogging in 49-51
5.1. a microblogging cluster load balancing 49-50
5.1.2 microblogging information synchronization between the server 50-51
5.2 DWR push to achieve tweets DWR related XML 51-55
5.2.1 system configuration achieve 51-53
5.2.2 DWR push message 53-55
5.3 summary 55-56
6 summary and Outlook 56-58
6.1 summarizes 56
6.2 Looking 56-58
Thanks 58-59
references 59-62
Appendix 62
Related dissertations
- Research and Design of Scalable Network Server Based on Linux
- Application and Research of Digital Room Service System Based on Cluster Server
- Research and Implement of a Content-based Load Balancing Technology
- Research the High-performance Website Architecture Based on the Open Source Technology
- Research and Implementation of IPSec VPN Proxy Cluster System
- The Research of the Load Balancing Technology Based on BP Neural Networks
- Study and Realization of Dynamic Scheduling Based on Linux Virtual Server Cluster
- The Research on Load Balancing Technology of Server Cluster Based on OPNET
- The Research and Improvement of the Load Balancing Technology Based on Nginx
- Multi-goal Load Balancing Research in Virtual Environment
- Circulating cooling water treatment research of remote monitoring system and Implementation
- The Design and Implementation of Load Balancing Algorithm Based on Cluster
- Research on Storage Managment Method of Intelligent Network Disk
- Research of the Load Balancing Technology in the SIP Server Clusters
- On the Development of Service Industry in Gansu from the Cluster Perspective
- Study on Tourism Industry Cluster of Hainan
- The Study of the Regional Tourism Competitiveness Based on Industrial Clustering Effect
- Study on the Linkage Analysis for17Districts of Hubei Province’s Tourism
- Cluster Entrepreneurship:the Influence Mechanisms of the Technology and Market Gradient Distance
- Global value chain Chongqing Motorcycle Industrial Cluster Upgrading Research