| With the rapid development of internet, web applications are closely related to people’s basic necessities of life, so they are facing increasingly high concurrent access pressures. Traditional web applications, based onJava or PHP, can not meet the requirements of high concurrency and high performance because of its multiple thread characteristic. So the Node.js that appeared in 2009 got people’s attention. Its features, such as event driven, asynchronous I/O and so on, make it have the ability of hadling high concurrent requests inherently, and greatly enhance the concurrency performance of web server. But compared with the fiery degree of Node.js, web development framework based on it is not mature.Therefore, it is significant to study the high performance framework based on Node.js.This paper analyzed the history of web development technolody, and pointed out the challenges faced by current web applications. Combined with the current solutions for high concurrency, high performance, a summary of some large web technology architecture was made. In order to combine with practice, a quantitative trading system based on Node.js framework is designed and implemented in this paper. Firstly, a detailed demand analysis is did to the system. Then on this basis, the system is designed and implemented in detail. The structure of Node.js basic framework, database and key function module are described in detail.Finally, the system is deployed by forever.The Node.js based framework not only has the ability to deal with high concurrency, it can also meet the requirements of rapid development and performance at the same time. Firstly, the use of load balancing make up the insufficient brought by Node.js’s single process single thread mode,to make full use of multi-core processors. Secondly, the integration of local NPM warehouse, cache and RabbitMQ split the web application into multiple REST based micro services vertically, greatly improves the performance and concurrency of Web applications. Thirdly, using Token based authentication mechanism to replace Session-Cookie mechanism,making the infrastructure more adaptive to the deployment of micro services.To verify the performance of the underlying framework and its ability to handle high concurrency, this paper tests pressure in real environment, and compares it with web services based on traditional technology. It is proved that the framework of this paper has better ability to deal with high concurrency. At the same time, the performance of the RabbitMQ, which may become the bottleneck of system performance, is tested too. Finally, the problems and deficiencies in the development of the basic framework are summarized, The planning and prospect for the next work are given. |