Proceedings of the 3rd International Conference on Mechatronics and Industrial Informatics

Research on Load Balancing Strategy of Standalone Multi-core Cluster based on Node.js

Authors
Bo Wu, Zhengping Jin
Corresponding Author
Bo Wu
Available Online October 2015.
DOI
10.2991/icmii-15.2015.152How to use a DOI?
Keywords
Node.js, Load Balance, Request Classification, Weighted Round Robin.
Abstract

With the development of Internet and the rapid increase of users, there are a lot of serious problems in Internet, such as network congestion, server overload and too long response time. So it is necessary for network applications to support the high concurrent access requirements. Node.js is an asynchronous and non-blocking I/O model that provides efficient scheme for this problem. However, as for the Node.js native single-threaded work pattern cannot use performance of multicore CPUs, the advantage of high concurrency cannot given full paly to. In this paper, we proposed a simple and efficient Node.js multi-core and parallel framework based on the study of the existing multi-core solutions. This framework balances the nodes through the way of request classification and weighted round-robin. The strategy consider the difference between the user requests and the working process of real-time load totally. Moreover, at the same time we introduce the load feedback mechanism, which can balance the load of nodes and make full use of the resources of each node better through allocating user request according to equivalent transformation of the load weight and accelerated decline weights of critical state. Experiment show that the plan has better load balance ability compared to the the original solutions under the condition of high concurrent requests.

Copyright
© 2015, the Authors. Published by Atlantis Press.
Open Access
This is an open access article distributed under the CC BY-NC license (http://creativecommons.org/licenses/by-nc/4.0/).

Download article (PDF)

Volume Title
Proceedings of the 3rd International Conference on Mechatronics and Industrial Informatics
Series
Advances in Computer Science Research
Publication Date
October 2015
ISBN
978-94-6252-131-5
ISSN
2352-538X
DOI
10.2991/icmii-15.2015.152How to use a DOI?
Copyright
© 2015, the Authors. Published by Atlantis Press.
Open Access
This is an open access article distributed under the CC BY-NC license (http://creativecommons.org/licenses/by-nc/4.0/).

Cite this article

TY  - CONF
AU  - Bo Wu
AU  - Zhengping Jin
PY  - 2015/10
DA  - 2015/10
TI  - Research on Load Balancing Strategy of Standalone Multi-core Cluster based on Node.js
BT  - Proceedings of the 3rd International Conference on Mechatronics and Industrial Informatics
PB  - Atlantis Press
SP  - 870
EP  - 875
SN  - 2352-538X
UR  - https://doi.org/10.2991/icmii-15.2015.152
DO  - 10.2991/icmii-15.2015.152
ID  - Wu2015/10
ER  -