Font Size: a A A

Research On DWR Active Push Technology Based On Server Cluster

Posted on:2018-11-01Degree:MasterType:Thesis
Country:ChinaCandidate:J W ZhangFull Text:PDF
GTID:2348330542487337Subject:Software engineering
Abstract/Summary:PDF Full Text Request
The Internet is getting better and better for the benefit of mankind,and web application software as the main force of the Internet industry is widely used in various fields,especially the popularity of Ajax technology,making Web applications become more efficient and convenient,more interactive.In order to meet the requirements of real-time applications,such as real-time chat tools,real-time weather forecasting,real-time monitoring of stock applications,the server needs to push the contents of the host to the customer browser.However,as the number of users continues to increase,the server needs to complete the task of pushing the geometric growth,a server has been overwhelmed.Based on the above problems,this paper studies the information-based server cluster based on the program came into being.Based on the analysis and research of server cluster push technology at home and abroad,firstly,using Nginx reverse proxy to achieve a load balancing server cluster,making the system to meet the large number of concurrent users to use,secondly,in the Web project based on SSH3 framework,using DWR to achieve information push.By studying the design principle and pushing process of DWR technology,the focus on the problems exposed in the cross-server,abandoning the original through the polling of each server node to filter the user's way.It is proposed to use Memcached to realize the sharing of ScriptSession among multiple servers,so that the system can efficiently select the target user.In addition,the implementation of the implementation of the push when the application of a custom thread pool,improve the original push task one-to-one implementation of the way to ensure that the arrival of a large number of push tasks to the efficient implementation?In the process of this paper,compared with the single host push technology,it has high concurrency,scalability,disaster tolerance and other outstanding advantages,compared with the traditional server cluster push method,it has the advantages of high efficiency and short response period,which can meet the users' functional and performance requirements.
Keywords/Search Tags:Server cluster, DWR, Memcached, Thread pool
PDF Full Text Request
Related items