基于Node.js的高并發(fā)在線商城系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)
[Abstract]:With the rapid development of the Internet, the number of users of various Internet products has been greatly increased, the users have become more active, a large number of websites need to face more and more high pressure of concurrent access. In order to cope with the pressure of massive users, we usually use additional hardware such as using more and faster servers, or optimize software systems such as load balancing. As a new and popular server-side technology, Node.js has unique event mechanism and asynchronous I / O model to improve the concurrent performance of Web server. Solving the problem of high concurrency provides a useful way to solve the problem. Aiming at the problem of simple load balance in existing Node.js multithreading solutions, this paper proposes a load balancing scheme based on request classification and weighted polling, and then designs and implements an online shopping mall system based on Node.js. Firstly, considering the processing efficiency of Node.js for different types of tasks, this paper divides user requests into three types according to the use of I / O and CPU, and then distributes the similar requests to each Node.js work process by weighted polling. In order to calculate the weights of each node simply and effectively, the response time equivalent calculation method is adopted in this paper, and when the performance of the node is close to saturation, the weight value decreases rapidly through the feedback mechanism to balance the load. The test results of improving the overall performance of the system. LoadRunner show that the improved algorithm can effectively balance user requests in complex networks and improve the processing performance of Web servers. Secondly, a framework with high concurrency is proposed based on the research of the existing system, in which the improved Node.js multithreading solution is applied as a Web server to receive user requests. And with load balance, front and rear cache, database and other common components to achieve the development of online shopping mall. The comparison test shows that compared with the traditional Apache Tomcat server Java language, using Node.js as the Web server can improve the performance obviously and has better concurrency processing ability with limited hardware input.
【學(xué)位授予單位】:北京郵電大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2016
【分類號】:TP311.52
【相似文獻(xiàn)】
相關(guān)期刊論文 前2條
1 劉生建;袁冠遠(yuǎn);楊艷;;基于Node.js的撮合系統(tǒng)開發(fā)[J];軟件導(dǎo)刊;2014年08期
2 金德鑫,楊芙清,鄒悅;一個(gè)模塊化操作系統(tǒng)的并發(fā)處理[J];北京大學(xué)學(xué)報(bào)(自然科學(xué)版);1981年03期
相關(guān)碩士學(xué)位論文 前10條
1 吳博;基于Node.js的高并發(fā)在線商城系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)[D];北京郵電大學(xué);2016年
2 王金龍;基于Node.js的圖片分享應(yīng)用的設(shè)計(jì)與實(shí)現(xiàn)[D];南京理工大學(xué);2015年
3 邱偉偉;基于Node.js的萬向節(jié)制造物聯(lián)網(wǎng)系統(tǒng)[D];浙江工業(yè)大學(xué);2016年
4 楊曉婷;基于Node.js的基礎(chǔ)框架設(shè)計(jì)與實(shí)現(xiàn)[D];北京郵電大學(xué);2017年
5 王超;基于Node.js的即時(shí)消息系統(tǒng)設(shè)計(jì)與實(shí)現(xiàn)[D];北京郵電大學(xué);2016年
6 李博洋;基于Node.js的分布式數(shù)字資源開放服務(wù)系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)[D];北京郵電大學(xué);2014年
7 陶嬡;基于Node.js的心理解壓應(yīng)用的設(shè)計(jì)與開發(fā)[D];北京郵電大學(xué);2017年
8 楊振宇;基于Nodejs的云PACS系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)[D];北京交通大學(xué);2017年
9 李堂更;移動(dòng)通信基站智能鎖系統(tǒng)軟件設(shè)計(jì)與實(shí)現(xiàn)[D];電子科技大學(xué);2017年
10 吳昊;應(yīng)用交付設(shè)備在公安行業(yè)的應(yīng)用與研究[D];遼寧科技大學(xué);2016年
,本文編號:2167483
本文鏈接:http://sikaile.net/kejilunwen/ruanjiangongchenglunwen/2167483.html